File tree 4 files changed +8
-8
lines changed
rules_java_gapic/resources/gradle
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 52
52
mkdir /tmp/java-storage
53
53
tar zxvf bazel-bin/test/integration/google-cloud-storage-v2-java.tar.gz -C /tmp/java-storage
54
54
pushd /tmp/java-storage/google-cloud-storage-v2-java
55
- ./gradlew clean build publishToMavenLocal
55
+ ./gradlew clean build publishToMavenLocal sourcesJar allJars
56
56
popd
57
57
58
58
- name : Gradle Build Generated Compute Client Library
62
62
bazel --batch build @com_google_googleapis//google/cloud/compute/v1small:google-cloud-compute-small-v1-java
63
63
tar zxvf bazel-bin/external/com_google_googleapis/google/cloud/compute/v1small/google-cloud-compute-small-v1-java.tar.gz -C /tmp/java-compute
64
64
pushd /tmp/java-compute/google-cloud-compute-small-v1-java
65
- ./gradlew clean build publishToMavenLocal
65
+ ./gradlew clean build publishToMavenLocal sourcesJar allJars
66
66
popd
67
67
68
68
- uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change @@ -40,6 +40,6 @@ clean {
40
40
task allJars(type: Copy) {
41
41
dependsOn test, jar
42
42
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
45
45
}
Original file line number Diff line number Diff line change @@ -42,6 +42,6 @@ clean {
42
42
task allJars(type: Copy) {
43
43
dependsOn test, jar
44
44
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
47
47
}
Original file line number Diff line number Diff line change @@ -37,6 +37,6 @@ clean {
37
37
task allJars(type: Copy) {
38
38
dependsOn test, jar
39
39
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
42
42
}
You can’t perform that action at this time.
0 commit comments