update publishing scripts

This commit is contained in:
InsanusMokrassar 2020-11-11 23:38:56 +06:00
parent 991e58cd29
commit 91beb49b02
4 changed files with 29 additions and 29 deletions

View File

@ -20,25 +20,22 @@ publishing {
publications.all { publications.all {
artifact javadocsJar artifact javadocsJar
pom.withXml { pom {
asNode().children().last() + { description = "Simple library for creating dependencies tree using Kotlin Serialization"
resolveStrategy = Closure.DELEGATE_FIRST name = "Simple Dependency Injector"
url = "https://git.insanusmokrassar.com/InsanusMokrassar/SDI"
description "Simple library for creating dependencies tree using Kotlin Serialization"
name "Simple Dependency Injector"
url "https://git.insanusmokrassar.com/InsanusMokrassar/SDI"
scm { scm {
developerConnection "scm:git:[fetch=]https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git[push=]https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git" developerConnection = "scm:git:[fetch=]https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git[push=]https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git"
url "https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git" url = "https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git"
} }
developers { developers {
developer { developer {
id "InsanusMokrassar" id = "InsanusMokrassar"
name "Ovsiannikov Aleksei" name = "Ovsiannikov Aleksei"
email "ovsyannikov.alexey95@gmail.com" email = "ovsyannikov.alexey95@gmail.com"
} }
} }
@ -46,12 +43,11 @@ publishing {
licenses { licenses {
license { license {
name "Apache Software License 2.0" name = "Apache Software License 2.0"
url "https://git.insanusmokrassar.com/PostsSystem/SDI/src/master/LICENSE" url = "https://git.insanusmokrassar.com/PostsSystem/SDI/src/master/LICENSE"
} }
} }
} }
} }
}
} }

View File

@ -1 +0,0 @@
{"bintrayConfig":{"repo":"InsanusMokrassar","packageName":"${project.name}","packageVcs":"https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git"},"licenses":[{"id":"Apache-2.0","title":"Apache Software License 2.0","url":"https://git.insanusmokrassar.com/PostsSystem/SDI/src/master/LICENSE"}],"mavenConfig":{"name":"Simple Dependency Injector","description":"Simple library for creating dependencies tree using Kotlin Serialization","url":"https://git.insanusmokrassar.com/InsanusMokrassar/SDI","vcsUrl":"https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git","developers":[{"id":"InsanusMokrassar","name":"Ovsiannikov Aleksei","eMail":"ovsyannikov.alexey95@gmail.com"}]}}

1
mpp_publish_config.kpsb Normal file
View File

@ -0,0 +1 @@
{"bintrayConfig":{"repo":"InsanusMokrassar","packageName":"${project.name}","packageVcs":"https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git","autoPublish":true,"overridePublish":true},"licenses":[{"id":"Apache-2.0","title":"Apache Software License 2.0","url":"https://git.insanusmokrassar.com/PostsSystem/SDI/src/master/LICENSE"}],"mavenConfig":{"name":"Simple Dependency Injector","description":"Simple library for creating dependencies tree using Kotlin Serialization","url":"https://git.insanusmokrassar.com/InsanusMokrassar/SDI","vcsUrl":"https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git","developers":[{"id":"InsanusMokrassar","name":"Ovsiannikov Aleksei","eMail":"ovsyannikov.alexey95@gmail.com"}]},"type":"Multiplatform"}

View File

@ -25,6 +25,10 @@ bintray {
} }
into "${project.group}".replace(".", "/") into "${project.group}".replace(".", "/")
} }
publish = true
override = true
pkg { pkg {
repo = "InsanusMokrassar" repo = "InsanusMokrassar"
name = "${project.name}" name = "${project.name}"