Expected but isn't working version

This commit is contained in:
C.Solovev 2018-08-14 12:11:48 +04:00
parent 6b28c5a93b
commit c1391b2701

View File

@ -20,7 +20,7 @@ buildscript {
allprojects { allprojects {
apply plugin: 'java' apply plugin: 'java'
group 'com.github.cretz.asmble' group 'com.github.cretz.asmble'
version '0.4.0-SNAPSHOT' version '0.4.0-fl'
repositories { repositories {
mavenCentral() mavenCentral()
@ -205,7 +205,7 @@ project(':examples:rust-string') {
def publishSettings(project, projectName, projectDescription, includeJavadoc) { def publishSettings(project, projectName, projectDescription, includeJavadoc) {
project.with { project.with {
if (!project.hasProperty('ossrhUsername')) return if (!bintrayUser || !bintrayKey) return
apply plugin: 'maven' apply plugin: 'maven'
apply plugin: 'signing' apply plugin: 'signing'
@ -232,29 +232,26 @@ def publishSettings(project, projectName, projectDescription, includeJavadoc) {
archives packageSources, packageJavadoc archives packageSources, packageJavadoc
} }
signing {
sign configurations.archives
}
uploadArchives { uploadArchives {
repositories { repositories {
mavenDeployer { mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/') { println(bintrayKey)
authentication(userName: ossrhUsername, password: ossrhPassword) repository(url: 'https://dl.bintray.com/fluencelabs/releases/') {
} authentication(userName: bintrayUser, password: bintrayKey)
snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots/') {
authentication(userName: ossrhUsername, password: ossrhPassword)
} }
// snapshotRepository(url: 'https://dl.bintray.com/fluencelabs/snapshots/') {
// authentication(userName: bintrayUser, password: bintrayKey)
// }
pom.project { pom.project {
name projectName name projectName
packaging 'jar' packaging 'jar'
description projectDescription description projectDescription
url 'https://github.com/cretz/asmble' url 'https://github.com/fluencelabs/asmble'
scm { scm {
connection 'scm:git:git@github.com:cretz/asmble.git' connection 'scm:git:git@github.com:fluencelabs/asmble.git'
developerConnection 'scm:git:git@github.com:cretz/asmble.git' developerConnection 'scm:git:git@github.com:fluencelabs/asmble.git'
url 'git@github.com:cretz/asmble.git' url 'git@github.com:fluencelabs/asmble.git'
} }
licenses { licenses {
license { license {
@ -262,11 +259,11 @@ def publishSettings(project, projectName, projectDescription, includeJavadoc) {
url 'https://opensource.org/licenses/MIT' url 'https://opensource.org/licenses/MIT'
} }
} }
developers { developers {
developer { developer {
id 'cretz' id 'fluencelabs'
name 'Chad Retz' name 'Fluencelabs'
url 'https://github.com/cretz' url 'https://github.com/fluencelabs'
} }
} }
} }