lift build to module path
This commit is contained in:
parent
5aab599eca
commit
01ea1c7c0b
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ tasks.withType(JavaCompile).configureEach {
|
|||
options.encoding = 'UTF-8'
|
||||
options.compilerArgs.add('-Xlint:all')
|
||||
// enforce presence of module-info.java
|
||||
options.compilerArgs.add("--module-version")
|
||||
options.compilerArgs.add(project.version as String)
|
||||
options.compilerArgs.add("--module-path")
|
||||
options.compilerArgs.add(classpath.asPath)
|
||||
classpath = files()
|
||||
|
|
Loading…
Reference in a new issue