From ca4348b5f6dd4141c79ba9447d648a70d994078b Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 8 Oct 2020 16:54:11 +0600 Subject: [PATCH] update publication files --- build.gradle | 2 +- github_release.gradle | 6 +++--- gradle.properties | 2 ++ publication.kpsb | 2 +- publish.gradle | 4 ++++ 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 6fa89e4..d43072a 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ plugins { id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version" } -project.version = "0.6.1" +project.version = "$library_version" project.group = "com.insanusmokrassar" apply from: "publish.gradle" diff --git a/github_release.gradle b/github_release.gradle index 94284ee..a9c6525 100644 --- a/github_release.gradle +++ b/github_release.gradle @@ -18,9 +18,9 @@ if (new File(projectDir, "secret.gradle").exists()) { owner "InsanusMokrassar" repo "${rootProject.name}" - tagName "$library_version" - releaseName "$library_version" - targetCommitish "$library_version" + tagName "${project.version}" + releaseName "${project.version}" + targetCommitish "${project.version}" body getCurrentVersionChangelog() } diff --git a/gradle.properties b/gradle.properties index 705ff8a..74e0883 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,3 +7,5 @@ ktor_version=1.4.1 gradle_github_release_plugin_version=2.2.12 gradle_bintray_plugin_version=1.8.5 + +library_version=0.6.1 diff --git a/publication.kpsb b/publication.kpsb index 82d5284..ef9424d 100644 --- a/publication.kpsb +++ b/publication.kpsb @@ -1 +1 @@ -{"bintrayConfig":{"repo":"InsanusMokrassar","packageName":"${project.name}-mpp","packageVcs":"https://github.com/InsanusMokrassar/${project.name}"},"licenses":[{"id":"Apache-2.0","title":"Apache Software License 2.0","url":"https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"}],"mavenConfig":{"name":"SauceNao API","description":"SauceNao API library","url":"https://insanusmokrassar.github.io/${project.name}","vcsUrl":"https://github.com/insanusmokrassar/${project.name}.git","developers":[{"id":"InsanusMokrassar","name":"Ovsyannikov Alexey","eMail":"ovsyannikov.alexey95@gmail.com"}]},"type":"Multiplatform"} \ No newline at end of file +{"bintrayConfig":{"repo":"InsanusMokrassar","packageName":"${project.name}-mpp","packageVcs":"https://github.com/InsanusMokrassar/${project.name}","autoPublish":true,"overridePublish":true},"licenses":[{"id":"Apache-2.0","title":"Apache Software License 2.0","url":"https://github.com/InsanusMokrassar/TelegramBotAPI/blob/master/LICENSE"}],"mavenConfig":{"name":"SauceNao API","description":"SauceNao API library","url":"https://insanusmokrassar.github.io/${project.name}","vcsUrl":"https://github.com/insanusmokrassar/${project.name}.git","developers":[{"id":"InsanusMokrassar","name":"Ovsyannikov Alexey","eMail":"ovsyannikov.alexey95@gmail.com"}]},"type":"Multiplatform"} \ No newline at end of file diff --git a/publish.gradle b/publish.gradle index 65530e9..94ebd97 100644 --- a/publish.gradle +++ b/publish.gradle @@ -25,6 +25,10 @@ bintray { } into "${project.group}".replace(".", "/") } + + publish = true + override = true + pkg { repo = "InsanusMokrassar" name = "${project.name}-mpp"