Skip to content

Commit

Permalink
Upgrade to latest kotlin protos to allow group client accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperschwartz committed Nov 15, 2022
1 parent 59919c5 commit 9b201e1
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 4 deletions.
6 changes: 5 additions & 1 deletion cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ plugins {

repositories {
mavenCentral()
// TODO: Remove staging repository reference when v1.13.0 is officially merged
maven {
url = uri("https://s01.oss.sonatype.org/content/groups/staging/")
}
}

dependencies {
Expand All @@ -13,4 +17,4 @@ dependencies {
implementation(projects.clientCoroutines)
implementation(libs.provenance.protos)
implementation(libs.kotlinx.coroutines)
}
}
6 changes: 5 additions & 1 deletion client-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ plugins {

repositories {
mavenCentral()
// TODO: Remove staging repository reference when v1.13.0 is officially merged
maven {
url = uri("https://s01.oss.sonatype.org/content/groups/staging/")
}
}

dependencies {
Expand All @@ -16,4 +20,4 @@ dependencies {

// Test
testImplementation(libs.kotlin.test.junit)
}
}
4 changes: 4 additions & 0 deletions client-coroutines/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ plugins {

repositories {
mavenCentral()
// TODO: Remove staging repository reference when v1.13.0 is officially merged
maven {
url = uri("https://s01.oss.sonatype.org/content/groups/staging/")
}
}

dependencies {
Expand Down
6 changes: 5 additions & 1 deletion client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ plugins {

repositories {
mavenCentral()
// TODO: Remove staging repository reference when v1.13.0 is officially merged
maven {
url = uri("https://s01.oss.sonatype.org/content/groups/staging/")
}
}

dependencies {
Expand All @@ -17,4 +21,4 @@ dependencies {
implementation(libs.provenance.hdwallet)

testImplementation(libs.kotlin.test.junit)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ open class AbstractPbClient<T : ManagedChannelBuilder<T>>(
val evidenceClient = cosmos.evidence.v1beta1.QueryGrpc.newBlockingStub(channel)
val feegrantClient = cosmos.feegrant.v1beta1.QueryGrpc.newBlockingStub(channel)
val govClient = cosmos.gov.v1beta1.QueryGrpc.newBlockingStub(channel)
val groupClient = cosmos.group.v1.QueryGrpc.newBlockingStub(channel)
val markerClient = io.provenance.marker.v1.QueryGrpc.newBlockingStub(channel)
val metadataClient = io.provenance.metadata.v1.QueryGrpc.newBlockingStub(channel)
val mintClient = cosmos.mint.v1beta1.QueryGrpc.newBlockingStub(channel)
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
provenance-protos = "1.8.0"
provenance-protos = "1.13.0-rc3"
provenance-hd-wallet = "0.1.15"
bouncycastle = "1.70"
grpc = "1.44.0"
Expand Down

0 comments on commit 9b201e1

Please sign in to comment.