Skip to content

Commit b1c6522

Browse files
committed
set the org.gradle.jvm.environment attribute
1 parent eb6a24b commit b1c6522

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

firestore/integration_test_internal/build.gradle

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ android {
5151
java.srcDirs = ['src/android/java']
5252
res.srcDirs = ['res']
5353
}
54+
all {
55+
configurations.getByName(runtimeClasspathConfigurationName) {
56+
attributes.attribute(Attribute.of("org.gradle.jvm.environment", String), "standard-jvm")
57+
}
58+
configurations.getByName(compileClasspathConfigurationName) {
59+
attributes.attribute(Attribute.of("org.gradle.jvm.environment", String), "standard-jvm")
60+
}
61+
}
5462
}
5563

5664
Properties localProperties = new Properties()
@@ -98,12 +106,6 @@ android {
98106
}
99107
}
100108

101-
dependencies {
102-
implementation 'com.google.guava:guava:32.0.1-android' {
103-
force = true
104-
}
105-
}
106-
107109
apply from: "$gradle.firebase_cpp_sdk_dir/Android/firebase_dependencies.gradle"
108110
firebaseCpp.dependencies {
109111
auth

0 commit comments

Comments
 (0)