Skip to content

Commit 19f9497

Browse files
Merge pull request #9 from xenit-eu/fix-sonatype-release
Fix sonatype release
2 parents 2c9ed03 + 4a72f06 commit 19f9497

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## 0.4.0 - 2022-10-04
99

10+
Fixed:
11+
* [#9] - Fixed release to Maven Central via Sonatype
12+
1013
Changed:
1114
* [#8] - Moved packages to `com.contentgrid.opa`
1215
* [#7] - Moved maven group coordinates to `com.contentgrid.opa-java-client`
@@ -17,6 +20,8 @@ Housekeeping:
1720

1821
[#6]: https://github.com/xenit-eu/opa-java-client/pull/6
1922
[#7]: https://github.com/xenit-eu/opa-java-client/pull/7
23+
[#8]: https://github.com/xenit-eu/opa-java-client/pull/8
24+
[#9]: https://github.com/xenit-eu/opa-java-client/pull/9
2025

2126
## 0.3.0 - 2021-12-09
2227

build.gradle

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ reckon {
88
snapshotFromProp()
99
}
1010

11+
nexusPublishing {
12+
repositories {
13+
sonatype {
14+
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
15+
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
16+
17+
username = project.findProperty('sonatype_username')
18+
password = project.findProperty('sonatype_password')
19+
}
20+
}
21+
}
22+
1123
allprojects {
1224
pluginManager.withPlugin('maven-publish') {
1325
apply from: "${rootDir}/gradle/publish.gradle"
@@ -22,16 +34,4 @@ allprojects {
2234
mavenCentral()
2335
}
2436
}
25-
}
26-
27-
nexusPublishing {
28-
repositories {
29-
sonatype {
30-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
31-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
32-
33-
username = project.findProperty('sonatype_username')
34-
password = project.findProperty('sonatype_password')
35-
}
36-
}
3737
}

0 commit comments

Comments
 (0)