Skip to content

Glavo/compile-module-info-sample

Repository files navigation

Module Info Compiler Sample Gradle Build

Sample project using the module-info-compiler Gradle plugin.

build.gradle.kts:

plugins {
    id("java")
    id("org.glavo.compile-module-info-plugin") version "2.0"
}

group = "org.glavo"

tasks.compileJava {
    options.release.set(8)
}

tasks.jar {
    manifest {
        attributes("Main-Class" to "org.glavo.mic.sample.Main")
    }
}

tasks.named<org.glavo.mic.tasks.CompileModuleInfo>("compileModuleInfo") {
    moduleMainClass = "org.glavo.mic.sample.Main"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published