add projectByName function

This commit is contained in:
2020-08-10 19:09:46 +06:00
parent 8bd6ef3d5f
commit 14a40bfef0
25 changed files with 95 additions and 57 deletions

View File

@@ -38,7 +38,7 @@ dependencies {
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
api "com.insanusmokrassar:postssystem.utils.repos:$core_version"
} else {
api project(":utils:repos:postssystem.utils.repos.common")
api projectByName("postssystem.utils.repos.common")
}
testImplementation "org.jetbrains.kotlin:kotlin-test"