File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed
Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,17 @@ java {
1818 targetCompatibility = JavaVersion .VERSION_1_8
1919}
2020
21+ val protos by configurations.creating
22+
2123dependencies {
2224 api(" io.opentelemetry:opentelemetry-sdk" )
2325 compileOnly(" com.google.auto.value:auto-value-annotations" )
2426 annotationProcessor(" com.google.auto.value:auto-value" )
2527 signature(" com.toasttab.android:gummy-bears-api-21:0.6.1:coreLib@signature" )
2628 testImplementation(" org.mockito:mockito-inline" )
2729 testImplementation(" io.opentelemetry:opentelemetry-sdk-testing" )
30+
31+ protos(" io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha@jar" )
2832}
2933
3034animalsniffer {
@@ -49,11 +53,17 @@ jmh {
4953 timeUnit.set(" ms" )
5054}
5155
56+ val setupProtos by tasks.registering(Sync ::class ) {
57+ inputs.files(protos)
58+ from(zipTree(protos.singleFile))
59+ into(layout.buildDirectory.dir(" protos" ))
60+ }
61+
5262wire {
5363 java {}
5464
5565 sourcePath {
56- srcJar( " io.opentelemetry.proto:opentelemetry-proto:1.5.0-alpha " )
66+ srcDir(setupProtos )
5767 }
5868
5969 root(
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionSha256Sum =8d97a97984f6cbd2b85fe4c60a743440a347544bf18818048e611f5288d46c94
4- distributionUrl =https\://services.gradle.org/distributions/gradle-8.12.1 -bin.zip
3+ distributionSha256Sum =20f1b1176237254a6fc204d8434196fa11a4cfb387567519c61556e8710aed78
4+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.13 -bin.zip
55networkTimeout =10000
66validateDistributionUrl =true
77zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments