Skip to content

Commit 51594f2

Browse files
committed
Update README
1 parent 83c5272 commit 51594f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,14 @@ buildscript {
6161
Then you can create a task that compiles `module-info.java` like this:
6262

6363
```kotlin
64-
val compileModuleInfo = tasks.create<org.glavo.mic.tasks.CompileModuleInfo>("compileModuleInfo") {
64+
tasks.create<org.glavo.mic.tasks.CompileModuleInfo>("compileModuleInfo") {
6565
sourceFile.set(file("src/main/module-info.java"))
6666
targetFile.set(buildDir.resolve("classes/java/module-info/module-info.class"))
6767

6868
targetCompatibility = 9 // Optional, defaults to 9
6969
encoding = "UTF-8" // Optional, defaults to UTF-8
7070
moduleVersion = "1.0.0" // Optional
7171
moduleMainClass = "simple.Main" // Optional
72-
7372
}
7473
```
7574

0 commit comments

Comments
 (0)