Skip to content

Commit

Permalink
Allow re-publishing packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
wsx-antithesis committed Feb 28, 2025
1 parent ffdf500 commit 193b4c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions ffi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jreleaser {
sonatype {
applyMavenCentralRules = true
active = 'ALWAYS'
overwrite = true
url = 'https://central.sonatype.com/api/v1/publisher'
stagingRepository('build/staging-deploy')
}
Expand Down
7 changes: 7 additions & 0 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jreleaser {
sonatype {
applyMavenCentralRules = true
active = 'ALWAYS'
overwrite = true
url = 'https://central.sonatype.com/api/v1/publisher'
stagingRepository('build/staging-deploy')
}
Expand Down Expand Up @@ -150,6 +151,12 @@ test {
}
test.dependsOn jar

task testJar(type: Jar) {
from sourceSets.test.output
archiveClassifier.set('tests')
}
build.dependsOn testJar

tasks.named('test') {
useJUnitPlatform()
}

0 comments on commit 193b4c7

Please sign in to comment.