From a17eb21d693d50043f92914a1e6f35dc30b79b1f Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 13 Aug 2020 13:18:12 +0600 Subject: [PATCH] update gradle scripts for publishing ktor commons --- publishing/ktor/common/build.gradle | 6 ++---- publishing/ktor/common/publish.gradle | 0 settings.gradle | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 publishing/ktor/common/publish.gradle diff --git a/publishing/ktor/common/build.gradle b/publishing/ktor/common/build.gradle index 5a8f7c1b..cbd356ff 100644 --- a/publishing/ktor/common/build.gradle +++ b/publishing/ktor/common/build.gradle @@ -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") } } } diff --git a/publishing/ktor/common/publish.gradle b/publishing/ktor/common/publish.gradle deleted file mode 100644 index e69de29b..00000000 diff --git a/settings.gradle b/settings.gradle index 1535259d..618dddcd 100644 --- a/settings.gradle +++ b/settings.gradle @@ -22,7 +22,7 @@ String[] includes = [ ':publishing:api', ':publishing:exposed', - ':publishing:ktor:common', + ':publishing:ktor:common', ':markups:commons', ':markups:html'