diff options
| author | vincent van beek <vincent@vlogic.nl> | 2026-04-24 12:01:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-24 11:01:41 +0100 |
| commit | f9aba13b6d0f26d3a2a3f9de788d43aa2f4a82b7 (patch) | |
| tree | 17f70c4a8713fcfa0492496e1cd2c684ed10b335 /buildSrc/src/main/kotlin | |
| parent | f0ad5da61e40aca737e5aed181426c2ce7a58bbc (diff) | |
Fix maven (#409)
* attempt to fix the maven publish step
* fix publishing to maven central
Diffstat (limited to 'buildSrc/src/main/kotlin')
| -rw-r--r-- | buildSrc/src/main/kotlin/publishing-conventions.gradle.kts | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/buildSrc/src/main/kotlin/publishing-conventions.gradle.kts b/buildSrc/src/main/kotlin/publishing-conventions.gradle.kts index 3100412a..4616df36 100644 --- a/buildSrc/src/main/kotlin/publishing-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/publishing-conventions.gradle.kts @@ -20,15 +20,11 @@ * SOFTWARE. */ -import org.gradle.api.credentials.PasswordCredentials - plugins { `maven-publish` signing } -val isSnapshot = project.version.toString().contains("SNAPSHOT") - // Ensure project is built successfully before publishing it tasks.withType<PublishToMavenRepository>().configureEach { dependsOn(tasks.assemble) @@ -82,15 +78,4 @@ publishing { } } } - - repositories { - maven { - val releasesRepoUrl = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") - val snapshotsRepoUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") - - name = "ossrh" - url = if (isSnapshot) snapshotsRepoUrl else releasesRepoUrl - credentials(PasswordCredentials::class) - } - } } |
