update gradle scripts for publishing ktor commons
This commit is contained in:
parent
6809a1cc4b
commit
a17eb21d69
@ -20,8 +20,6 @@ plugins {
|
||||
project.version = "$core_version"
|
||||
project.group = "com.insanusmokrassar"
|
||||
|
||||
apply from: "publish.gradle"
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
@ -40,10 +38,10 @@ kotlin {
|
||||
|
||||
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") {
|
||||
api "com.insanusmokrassar:postssystem.ktor.common:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.core.api:$core_version"
|
||||
api "com.insanusmokrassar:postssystem.publishing.api:$core_version"
|
||||
} else {
|
||||
api projectByName("postssystem.ktor.common")
|
||||
api projectByName("postssystem.core.api")
|
||||
api projectByName("postssystem.publishing.api")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user