Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 84ce292

Browse files
committed
chore: Add maven publish info
1 parent 5802877 commit 84ce292

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,16 @@ publishing {
103103
}
104104
}
105105
}
106+
repositories {
107+
maven {
108+
name = "OSSRH"
109+
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
110+
credentials {
111+
username = System.getenv("MAVEN_USERNAME")
112+
password = System.getenv("MAVEN_PASSWORD")
113+
}
114+
}
115+
}
106116
/*
107117
contractcase(MavenPublication) {
108118
from components.java

0 commit comments

Comments
 (0)