This commit is contained in:
InsanusMokrassar 2019-11-22 10:11:31 +06:00
parent 63b94ac56a
commit 853b9b6de3
5 changed files with 24 additions and 34 deletions

View File

@ -8,15 +8,4 @@ project_public_version=0.1.0
project_public_group=com.insanusmokrassar project_public_group=com.insanusmokrassar
project_public_description=Simple DI library project_public_description=Simple DI library
project_public_name=PostsSystemCore
project_public_license_name=Apache-2.0
project_public_license_fullname=The Apache Software License, Version 2.0
project_public_license_url=https://git.insanusmokrassar.com/InsanusMokrassar/SDI/src/master/LICENSE
project_bintray_repo=InsanusMokrassar
project_url=https://git.insanusmokrassar.com/InsanusMokrassar/SDI
project_vcs=https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git
kotlin.incremental.multiplatform=true kotlin.incremental.multiplatform=true

View File

@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-all.zip

View File

@ -25,29 +25,32 @@ publishing {
asNode().children().last() + { asNode().children().last() + {
resolveStrategy = Closure.DELEGATE_FIRST resolveStrategy = Closure.DELEGATE_FIRST
description "${project_public_description}" description "Simple DI library"
name "${project_public_name}" name "Simple Dependency Injection"
url "${project_url}" url "https://git.insanusmokrassar.com/InsanusMokrassar/SDI"
scm { scm {
developerConnection "scm:git:[fetch=]${project_vcs}[push=]${project_vcs}" developerConnection "scm:git:[fetch=]https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git[push=]https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git"
url "${project_vcs}" url "https://git.insanusmokrassar.com/InsanusMokrassar/SDI.git"
} }
developers { developers {
developer {
id "InsanusMokrassar" developer {
name "Ovsyannikov Alexey" id "InsanusMokrassar"
email "ovsyannikov.alexey95@gmail.com" name "Ovsiannikov Aleksei"
} email "ovsyannikov.alexey95@gmail.com"
}
} }
licenses { licenses {
license {
name "${project_public_license_fullname}" license {
url "${project_public_license_url}" name "Apache Software License 2.0"
distribution "repo" url "https://git.insanusmokrassar.com/PostsSystem/SDI/src/master/LICENSE"
} }
} }
} }
} }
@ -57,4 +60,4 @@ publishing {
signing { signing {
useGpgCmd() useGpgCmd()
sign(publishing.publications) sign(publishing.publications)
} }

View File

@ -6,10 +6,10 @@ bintray {
user = project.hasProperty('BINTRAY_USER') ? project.property('BINTRAY_USER') : System.getenv('BINTRAY_USER') user = project.hasProperty('BINTRAY_USER') ? project.property('BINTRAY_USER') : System.getenv('BINTRAY_USER')
key = project.hasProperty('BINTRAY_KEY') ? project.property('BINTRAY_KEY') : System.getenv('BINTRAY_KEY') key = project.hasProperty('BINTRAY_KEY') ? project.property('BINTRAY_KEY') : System.getenv('BINTRAY_KEY')
pkg { pkg {
repo = "$project_bintray_repo" repo = "InsanusMokrassar"
name = "${project.name}" name = "${project.name}"
vcsUrl = "${project_url}" vcsUrl = "https://github.com/InsanusMokrassar/SDI_mirror"
licenses = ["${project_public_license_name}"] licenses = ["Apache-2.0"]
version { version {
name = "${project.version}" name = "${project.version}"
released = new Date() released = new Date()
@ -24,4 +24,4 @@ bintrayUpload.doFirst {
} }
} }
bintrayUpload.dependsOn publishToMavenLocal bintrayUpload.dependsOn publishToMavenLocal

View File

@ -1,3 +1 @@
rootProject.name = 'sdi' rootProject.name = 'sdi'
enableFeaturePreview("GRADLE_METADATA")