experimentally update extension internalProject

This commit is contained in:
InsanusMokrassar 2020-11-10 23:55:11 +06:00
parent aff9b52f1c
commit 237d89d611

View File

@ -10,11 +10,12 @@ allprojects {
} }
internalProject = { name -> internalProject = { name ->
if (releaseMode) { // if (releaseMode) {
"$group:$name:$version" // "$group:$name:$version"
} else { // } else {
projectByName("$name") // projectByName("$name")
} // }
projectByName("$name")
} }
releaseMode = (project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true" releaseMode = (project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true"