Comment out module related gradle code
We are going to use a separate (intellij?) module instead for the API
This commit is contained in:
+14
-13
@@ -229,19 +229,20 @@ subprojects { p ->
|
||||
}
|
||||
}
|
||||
|
||||
// Tells gradle where to look for other modules
|
||||
// Why isn't the classpath added to the modules path by default?
|
||||
if (p == project(":core")) {
|
||||
compileJava {
|
||||
inputs.property('moduleName', 'dhApi')
|
||||
doFirst {
|
||||
options.compilerArgs = [
|
||||
'--module-path', classpath.asPath
|
||||
]
|
||||
classpath = files()
|
||||
}
|
||||
}
|
||||
}
|
||||
// this can be un-commented if we ever wanted to make DH modular (AKA use a module-info.java file) again
|
||||
// // Tells gradle where to look for other modules
|
||||
// // Why isn't the classpath added to the modules path by default?
|
||||
// if (p == project(":core")) {
|
||||
// compileJava {
|
||||
// inputs.property('moduleName', 'dhApi')
|
||||
// doFirst {
|
||||
// options.compilerArgs = [
|
||||
// '--module-path', classpath.asPath
|
||||
// ]
|
||||
// classpath = files()
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// Run mergeJars when running build
|
||||
build.finalizedBy(mergeJars)
|
||||
|
||||
+1
-1
Submodule core updated: 63309e1fb3...e2d90f6627
Reference in New Issue
Block a user