Version 0.2.0 bump
This commit is contained in:
79
build.gradle
79
build.gradle
@ -5,7 +5,9 @@ subprojects {
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
group = 'ch.dissem.jabit'
|
||||
version = '0.1.3-SNAPSHOT'
|
||||
version = '0.2.0'
|
||||
|
||||
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -25,50 +27,51 @@ subprojects {
|
||||
archives javadocJar, sourcesJar
|
||||
}
|
||||
|
||||
// Note: to build the project, you'll either need to
|
||||
if (hasProperty('signing.keyId')) {
|
||||
signing {
|
||||
sign configurations.archives
|
||||
}
|
||||
signing {
|
||||
required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") }
|
||||
sign configurations.archives
|
||||
}
|
||||
|
||||
if (hasProperty('ossrhUsername')) {
|
||||
uploadArchives {
|
||||
repositories {
|
||||
mavenDeployer {
|
||||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
|
||||
uploadArchives {
|
||||
repositories {
|
||||
mavenDeployer {
|
||||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
|
||||
|
||||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
||||
authentication(userName: ossrhUsername, password: ossrhPassword)
|
||||
if (!hasProperty('ossrhUsername')) {
|
||||
ext.ossrhUsername = 'dummy'
|
||||
ext.ossrhPassword = 'dummy'
|
||||
}
|
||||
|
||||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
||||
authentication(userName: ossrhUsername, password: ossrhPassword)
|
||||
}
|
||||
|
||||
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
|
||||
authentication(userName: ossrhUsername, password: ossrhPassword)
|
||||
}
|
||||
|
||||
pom.project {
|
||||
name 'Jabit'
|
||||
packaging 'jar'
|
||||
url 'https://github.com/Dissem/Jabit'
|
||||
|
||||
scm {
|
||||
connection 'scm:git:https://github.com/Dissem/Jabit.git'
|
||||
developerConnection 'scm:git:git@github.com:Dissem/Jabit.git'
|
||||
url 'https://github.com/Dissem/Jabit.git'
|
||||
}
|
||||
|
||||
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
|
||||
authentication(userName: ossrhUsername, password: ossrhPassword)
|
||||
licenses {
|
||||
license {
|
||||
name 'The Apache License, Version 2.0'
|
||||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
||||
}
|
||||
}
|
||||
|
||||
pom.project {
|
||||
name 'Jabit'
|
||||
packaging 'jar'
|
||||
url 'https://github.com/Dissem/Jabit'
|
||||
|
||||
scm {
|
||||
connection 'scm:git:https://github.com/Dissem/Jabit.git'
|
||||
developerConnection 'scm:git:git@github.com:Dissem/Jabit.git'
|
||||
url 'https://github.com/Dissem/Jabit.git'
|
||||
}
|
||||
|
||||
licenses {
|
||||
license {
|
||||
name 'The Apache License, Version 2.0'
|
||||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
||||
}
|
||||
}
|
||||
|
||||
developers {
|
||||
developer {
|
||||
name 'Christian Basler'
|
||||
email 'chrigu.meyer@gmail.com'
|
||||
}
|
||||
developers {
|
||||
developer {
|
||||
name 'Christian Basler'
|
||||
email 'chrigu.meyer@gmail.com'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user