File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
rules_java_gapic/resources/gradle Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5252 mkdir /tmp/java-storage
5353 tar zxvf bazel-bin/test/integration/google-cloud-storage-v2-java.tar.gz -C /tmp/java-storage
5454 pushd /tmp/java-storage/google-cloud-storage-v2-java
55- ./gradlew clean build publishToMavenLocal
55+ ./gradlew clean build publishToMavenLocal sourcesJar allJars
5656 popd
5757
5858 - name : Gradle Build Generated Compute Client Library
6262 bazel --batch build @com_google_googleapis//google/cloud/compute/v1small:google-cloud-compute-small-v1-java
6363 tar zxvf bazel-bin/external/com_google_googleapis/google/cloud/compute/v1small/google-cloud-compute-small-v1-java.tar.gz -C /tmp/java-compute
6464 pushd /tmp/java-compute/google-cloud-compute-small-v1-java
65- ./gradlew clean build publishToMavenLocal
65+ ./gradlew clean build publishToMavenLocal sourcesJar allJars
6666 popd
6767
6868 - uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change @@ -40,6 +40,6 @@ clean {
4040task allJars(type: Copy) {
4141 dependsOn test, jar
4242 into 'all-jars'
43- // Replace with ` from configurations.testRuntimeOnly , jar` to include test dependencies
44- from configurations.runtimeOnly , jar
43+ // Replace with ` from configurations.testRuntimeClasspath , jar` to include test dependencies
44+ from configurations.runtimeClasspath , jar
4545}
Original file line number Diff line number Diff line change @@ -42,6 +42,6 @@ clean {
4242task allJars(type: Copy) {
4343 dependsOn test, jar
4444 into 'all-jars'
45- // Replace with ` from configurations.testRuntimeOnly , jar` to include test dependencies
46- from configurations.runtimeOnly , jar
45+ // Replace with ` from configurations.testRuntimeClasspath , jar` to include test dependencies
46+ from configurations.runtimeClasspath , jar
4747}
Original file line number Diff line number Diff line change @@ -37,6 +37,6 @@ clean {
3737task allJars(type: Copy) {
3838 dependsOn test, jar
3939 into 'all-jars'
40- // Replace with ` from configurations.testRuntimeOnly , jar` to include test dependencies
41- from configurations.runtimeOnly , jar
40+ // Replace with ` from configurations.testRuntimeClasspath , jar` to include test dependencies
41+ from configurations.runtimeClasspath , jar
4242}
You can’t perform that action at this time.
0 commit comments