Skip to content

Commit c958aaa

Browse files
authored
Add module version to compiled module-info (#184)
1 parent 776597b commit c958aaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ project.sourceSets.each { set -> {
343343

344344
compileModularityJava {
345345
inputs.files(modularityInputs)
346+
options.javaModuleVersion = project.version as String
346347
doFirst {
347348
options.compilerArgs = [
348349
'--module-path', classpath.asPath,

0 commit comments

Comments
 (0)