File tree Expand file tree Collapse file tree 3 files changed +1
-22
lines changed
Expand file tree Collapse file tree 3 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,3 @@ repositories {
2424 // Use the plugin portal to apply community plugins in convention plugins.
2525 gradlePluginPortal()
2626}
27-
28- dependencies {
29- implementation ' io.seqera.maven-oci-registry:io.seqera.maven-oci-registry.gradle.plugin:0.2.1'
30- }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ plugins {
2323 // Apply the groovy Plugin to add support for Groovy.
2424 id ' java-library'
2525 id ' groovy'
26- id ' io.seqera. maven-oci-registry '
26+ id ' maven-publish '
2727}
2828
2929repositories {
@@ -84,11 +84,6 @@ tasks.withType(Test) {
8484 ])
8585}
8686
87- // Publishing configuration
88- ext. ociRegistryUsername = project. findProperty(' ociRegistryUsername' ) ?: System . getenv(' OCI_REGISTRY_USERNAME' )
89- ext. ociRegistryPassword = project. findProperty(' ociRegistryPassword' ) ?: System . getenv(' OCI_REGISTRY_PASSWORD' )
90- ext. ociRegistryUrl = project. findProperty(' ociRegistryUrl' ) ?: System . getenv(' OCI_REGISTRY_URL' ) ?: " https://public.cr.stage-seqera.io/maven/snapshots"
91-
9287publishing {
9388 repositories {
9489 maven {
@@ -100,15 +95,6 @@ publishing {
10095 }
10196 }
10297
103- mavenOci {
104- name = ' SeqeraOci'
105- url = ociRegistryUrl
106- credentials {
107- username = ociRegistryUsername
108- password = ociRegistryPassword
109- }
110- overwritePolicy = ' skip'
111- }
11298 }
11399 publications {
114100 maven(MavenPublication ) {
Original file line number Diff line number Diff line change @@ -48,6 +48,3 @@ ret=$(aws s3api head-object --bucket $BUCKET --key $KEY 2>&1) && {
4848 exit 1
4949 fi
5050}
51-
52- # # Publish to Seqera OCI public registry
53- ./gradlew $NAME :publishMavenPublicationToSeqeraOciRepository
You can’t perform that action at this time.
0 commit comments