Skip to content

Commit

Permalink
create final version 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhapa committed Nov 8, 2021
1 parent 7ab9633 commit 678d550
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
32 changes: 17 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ plugins {
id 'org.kordamp.gradle.java-project' version '0.47.0'
}

if (!project.hasProperty('ossrhUsername')) ext.ossrhUsername = '**undefined**'
if (!project.hasProperty('ossrhPassword')) ext.ossrhPassword = '**undefined**'
if (!project.hasProperty('sonatypeUsername')) ext.sonatypeUsername = '**undefined**'
if (!project.hasProperty('sonatypePassword')) ext.sonatypePassword = '**undefined**'

defaultTasks 'build'

Expand Down Expand Up @@ -97,7 +97,7 @@ dependencyUpdates.resolutionStrategy {
}

config {
release = (rootProject.findProperty('release') ?: false).toBoolean()
release = !project.version.endsWith('-SNAPSHOT')
info {
vendor = 'reinhapa'
name = 'RabbitMQ JavaEE/JakartaEE CDI enabler'
Expand Down Expand Up @@ -129,18 +129,20 @@ config {
}
repositories {
repository {
name = 'localRelease'
url = "${project.rootProject.buildDir}/repos/staging/release"
name = 'sonatypeRelease'
url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username = sonatypeUsername
password = sonatypePassword
}
}
repository {
name = 'localSnapshot'
url = "${project.rootProject.buildDir}/repos/staging/snapshot"
}
}
credentials {
sonatype {
username = ossrhUsername
password = ossrhPassword
name = 'sonatypeSnapshot'
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
credentials {
username = sonatypeUsername
password = sonatypePassword
}
}
}
}
Expand All @@ -159,8 +161,8 @@ config {
}
publishing {
signing.enabled = release
releasesRepository = 'localRelease'
snapshotsRepository = 'localSnapshot'
releasesRepository = 'sonatypeRelease'
snapshotsRepository = 'sonatypeSnapshot'
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# override from command line with -Pversion=x.y.z
group = net.reini
version = 1.5.0-SNAPSHOT
version = 1.5.0

sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand Down

0 comments on commit 678d550

Please sign in to comment.