We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c5272 commit 51594f2Copy full SHA for 51594f2
README.md
@@ -61,15 +61,14 @@ buildscript {
61
Then you can create a task that compiles `module-info.java` like this:
62
63
```kotlin
64
-val compileModuleInfo = tasks.create<org.glavo.mic.tasks.CompileModuleInfo>("compileModuleInfo") {
+tasks.create<org.glavo.mic.tasks.CompileModuleInfo>("compileModuleInfo") {
65
sourceFile.set(file("src/main/module-info.java"))
66
targetFile.set(buildDir.resolve("classes/java/module-info/module-info.class"))
67
68
targetCompatibility = 9 // Optional, defaults to 9
69
encoding = "UTF-8" // Optional, defaults to UTF-8
70
moduleVersion = "1.0.0" // Optional
71
moduleMainClass = "simple.Main" // Optional
72
-
73
}
74
```
75
0 commit comments