Skip to content

Commit

Permalink
Migration to Gradle 7.0 already resulted in jvm environment variables…
Browse files Browse the repository at this point in the history
… being defined. Remove these lines as they actually break the build.

PiperOrigin-RevId: 629322542
Change-Id: I3f1daf07cd07f38312047463648704ac926ef2a9
  • Loading branch information
tooryx authored and copybara-github committed Apr 30, 2024
1 parent e4e30f8 commit 186a931
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions google/fingerprinters/web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,3 @@ task runFingerprintFileConverter(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
mainClass = 'com.google.tsunami.plugins.fingerprinters.web.tools.FingerprintFileConverter'
}

// Force the JRE flavor of Guava for tasks that don't advertise themselves as targeting the JRE.
// https://github.com/google/guava/releases/tag/v32.1.0
// https://github.com/square/okio/issues/647
configurations.all { configuration ->
if (name == "compileClasspath" || name == "runtimeClasspath" || name == "compileProtoPath" || name == "testCompileProtoPath" || name == "testCompileClasspath" || name == "testRuntimeClasspath") {
attributes.attribute(Attribute.of("org.gradle.jvm.environment", String), "standard-jvm")
}
}

0 comments on commit 186a931

Please sign in to comment.