updates for publication

This commit is contained in:
InsanusMokrassar 2019-03-21 12:30:48 +08:00
parent a18aed6c54
commit 6dd9638059
3 changed files with 7 additions and 24 deletions

View File

@ -1,4 +1,4 @@
project.version = "0.10.3" project.version = "0.1.0"
project.group = "com.github.insanusmokrassar" project.group = "com.github.insanusmokrassar"
buildscript { buildscript {

View File

@ -5,4 +5,7 @@ kotlin_serialisation_runtime_version=0.10.0
joda_time_version=2.10.1 joda_time_version=2.10.1
ktor_version=1.1.2 ktor_version=1.1.2
project_public_name=SauceNao API
project_public_description=SauceNao API library
gradle_bintray_plugin_version=1.8.4 gradle_bintray_plugin_version=1.8.4

View File

@ -1,26 +1,6 @@
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
apply plugin: 'signing' apply plugin: 'signing'
def pomConfig = {
licenses {
license {
name "The Apache Software License, Version 2.0"
url "http://www.apache.org/licenses/LICENSE-2.0.txt"
distribution "repo"
}
}
developers {
developer {
name "Ovsiannikov Aleksei"
email "ovsyannikov.alexey95@gmail.com"
}
}
scm {
url "https://github.com/InsanusMokrassar/${project.name}"
}
}
task sourcesJar(type: Jar) { task sourcesJar(type: Jar) {
from sourceSets.main.allSource from sourceSets.main.allSource
classifier = 'sources' classifier = 'sources'
@ -41,12 +21,12 @@ publishing {
artifact sourcesJar artifact sourcesJar
artifact javadocJar artifact javadocJar
pom.withXml { pom.withXml {
asNode().children().last() + { asNode().children().last() + {
resolveStrategy = Closure.DELEGATE_FIRST resolveStrategy = Closure.DELEGATE_FIRST
name 'Telegram Bot API' name "${project_public_name}"
description 'It is one more project which wish to be useful and full Telegram Bots API bridge for Kotlin' description "${project_public_description}"
url "https://insanusmokrassar.github.io/${project.name}" url "https://insanusmokrassar.github.io/${project.name}"
scm { scm {