JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Set category attribute to 'library' for compile and runtime classpath

Otherwise Gradle may attempt to match variants of other categories

if the category=library variants to not fit (in which case Gradle

should fail).

    • -6
    • +6
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 12 more files in changeset.
Set category attribute to 'library' for compile and runtime classpath

Otherwise Gradle may attempt to match variants of other categories

if the category=library variants to not fit (in which case Gradle

should fail).

    • -6
    • +6
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 11 more files in changeset.
Set category attribute to 'library' for compile and runtime classpath

Otherwise Gradle may attempt to match variants of other categories

if the category=library variants to not fit (in which case Gradle

should fail).

    • -6
    • +6
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 11 more files in changeset.
WIP

    • -7
    • +7
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 46 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -7
    • +7
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 46 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -7
    • +7
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 46 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -7
    • +7
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 46 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -7
    • +7
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 46 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -7
    • +7
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 46 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -7
    • +7
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 46 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -7
    • +7
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 46 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -7
    • +7
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 46 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 55 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 55 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 42 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 55 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 56 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 56 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 55 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 56 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 48 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 56 more files in changeset.
Remove utilisation of *-jars usage values

    • -7
    • +14
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 56 more files in changeset.
Rework configuration / variant exception messages

* For ambiguity issues, other attributes are listed before compatible

attributes.

* For incompatibility issues, incompatible attributes are listed first,

followed by other attributes.

Issue #8747

    • -16
    • +24
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 19 more files in changeset.
Rework configuration / variant exception messages

* For ambiguity issues, other attributes are listed before compatible

attributes.

* For incompatibility issues, incompatible attributes are listed first,

followed by other attributes.

Issue #8747

    • -16
    • +24
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 19 more files in changeset.
Rework configuration / variant exception messages

* For ambiguity issues, other attributes are listed before compatible

attributes.

* For incompatibility issues, incompatible attributes are listed first,

followed by other attributes.

Issue #8747

    • -16
    • +24
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 19 more files in changeset.
Update test case to illustrate error

The test case used a String for the Java version, which works,

but in practice the attribute is an `Integer`. Coercion did the

magic, but if we use the _real_ type, it would have failed.

    • -1
    • +1
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Update test case to illustrate error

The test case used a String for the Java version, which works,

but in practice the attribute is an `Integer`. Coercion did the

magic, but if we use the _real_ type, it would have failed.

    • -1
    • +1
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Update test case to illustrate error

The test case used a String for the Java version, which works,

but in practice the attribute is an `Integer`. Coercion did the

magic, but if we use the _real_ type, it would have failed.

    • -1
    • +1
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Update Category attribute to be typed

Adapt code to new typed attributes, dealing with coercible String values

when parsed from metadata and typed values when created inside a Gradle

build.

    • -0
    • +5
    ./JavaLibraryCrossProjectTargetJvmVersionIntegrationTest.groovy
  1. … 27 more files in changeset.