update gradle scripts for publishing ktor commons

This commit is contained in:
InsanusMokrassar 2020-08-13 13:18:12 +06:00
parent 6809a1cc4b
commit a17eb21d69
3 changed files with 3 additions and 5 deletions

View File

@ -20,8 +20,6 @@ plugins {
project.version = "$core_version" project.version = "$core_version"
project.group = "com.insanusmokrassar" project.group = "com.insanusmokrassar"
apply from: "publish.gradle"
repositories { repositories {
mavenLocal() mavenLocal()
jcenter() jcenter()
@ -40,10 +38,10 @@ kotlin {
if ((project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true") { 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.ktor.common:$core_version"
api "com.insanusmokrassar:postssystem.core.api:$core_version" api "com.insanusmokrassar:postssystem.publishing.api:$core_version"
} else { } else {
api projectByName("postssystem.ktor.common") api projectByName("postssystem.ktor.common")
api projectByName("postssystem.core.api") api projectByName("postssystem.publishing.api")
} }
} }
} }