Skip to content

Commit 1647690

Browse files
committed
Add maven local publishing
1 parent 4998c5e commit 1647690

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ kbignumVersion = "2.2.0"
99
klockVersion = "2.2.2"
1010
ktorClientVersion = "1.6.1"
1111
mokoTestVersion = "0.4.0"
12-
mokoWeb3Version = "0.18.0"
12+
mokoWeb3Version = "0.18.1-STL"
1313
multidexVersion = "2.0.1"
1414

1515
[libraries]

web3-build-logic/src/main/kotlin/publication-convention.gradle.kts

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ plugins {
1111
}
1212

1313
publishing {
14-
repositories.maven("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") {
14+
/*repositories.maven("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") {
1515
name = "OSSRH"
1616
1717
credentials {
1818
username = System.getenv("OSSRH_USER")
1919
password = System.getenv("OSSRH_KEY")
2020
}
21+
}*/
22+
repositories {
23+
mavenLocal()
2124
}
2225

2326
publications.withType<MavenPublication> {
@@ -52,7 +55,7 @@ publishing {
5255
}
5356

5457

55-
signing {
58+
/*signing {
5659
val signingKeyId: String? = System.getenv("SIGNING_KEY_ID")
5760
val signingPassword: String? = System.getenv("SIGNING_PASSWORD")
5861
val signingKey: String? = System.getenv("SIGNING_KEY")?.let { base64Key ->
@@ -62,4 +65,4 @@ signing {
6265
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
6366
sign(publishing.publications)
6467
}
65-
}
68+
}*/

0 commit comments

Comments
 (0)