Skip to content

Commit 985d143

Browse files
cpovirkjjohannes
authored andcommitted
Update comments now that we are only about JVM/Android, not Java version.
1 parent 5f54f4d commit 985d143

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: integration-tests/gradle/build.gradle.kts

+3-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ subprojects {
5353
var expectedClasspath =
5454
if (runningGradle5) {
5555
// without Gradle Module Metadata (only the POM is used)
56-
// - variant decision is made based on version suffix (android/jre) and not on actual Java version
56+
// - variant decision is made based on version suffix (android/jre) and not on the actual environment
5757
// - runtime classpath equals the compile classpath
5858
// - dependency conflict with Google Collections is not detected and '9999.0' hack is present
5959
if (name.startsWith("android")) {
@@ -63,10 +63,9 @@ subprojects {
6363
}
6464
} else {
6565
// with Gradle Module Metadata
66-
// - variant is chosen based on Java version used independent of version suffix
67-
// (for Android projects, the 'android' variant is always chosen)
66+
// - variant is chosen based on the actual environment, independent of version suffix
6867
// - reduced runtime classpath is used (w/o annotation libraries)
69-
// - capability conflicts are detected between Google Collections and Listenablefuture
68+
// - capability conflicts are detected between Google Collections and listenablefuture
7069
if (name.contains("Android") && !name.contains("JreConstraint") ) {
7170
when {
7271
name.contains("RuntimeClasspath") -> {

0 commit comments

Comments
 (0)