Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Warn on publication of non transitive variant

This is effectively not supported in any of the published format.

    • -9
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 2 more files in changeset.
Warn on publication of non transitive variant

This is effectively not supported in any of the published format.

    • -9
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 2 more files in changeset.
Warn on publication of non transitive variant

This is effectively not supported in any of the published format.

    • -7
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 2 more files in changeset.
Warn on publication of non transitive variant

This is effectively not supported in any of the published format.

    • -0
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 2 more files in changeset.
Add validation at publication time

This commit introduces validation when generating Gradle

Module Metadata:

- check that there's at least one variant published

- each variant must have at least one attribute

- there shouldn't be duplicate variant names

- each variant must have a different (attributes,capabilities)

combination

Closes #10736

  1. … 11 more files in changeset.
Add validation at publication time

This commit introduces validation when generating Gradle

Module Metadata:

- check that there's at least one variant published

- each variant must have at least one attribute

- there shouldn't be duplicate variant names

- each variant must have a different (attributes,capabilities)

combination

Closes #10736

  1. … 11 more files in changeset.
Add validation at publication time

This commit introduces validation when generating Gradle

Module Metadata:

- check that there's at least one variant published

- each variant must have at least one attribute

- there shouldn't be duplicate variant names

- each variant must have a different (attributes,capabilities)

combination

Closes #10736

  1. … 11 more files in changeset.
Use instantiator for DSL objects created through SoftwareComponentFactory

To have a better and consistent DSL experience when using:

component.addVariantsFromConfiguration(...) { ... }

component.withVariantsFromConfiguration(...) { ... }

    • -6
    • +15
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 10 more files in changeset.
Use instantiator for DSL objects created through SoftwareComponentFactory

To have a better and consistent DSL experience when using:

component.addVariantsFromConfiguration(...) { ... }

component.withVariantsFromConfiguration(...) { ... }

    • -6
    • +15
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 9 more files in changeset.
Use instantiator for DSL objects created through SoftwareComponentFactory

To have a better and consistent DSL experience when using:

component.addVariantsFromConfiguration(...) { ... }

component.withVariantsFromConfiguration(...) { ... }

    • -6
    • +15
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 10 more files in changeset.
Add AdhocSoftwareComponent.withVariantsFromConfiguration() API

    • -1
    • +6
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 8 more files in changeset.
Add API: AdhocSoftwareComponent.withVariantsFromConfiguration()

    • -1
    • +7
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 2 more files in changeset.
Remove unused parameter and unused class

    • -44
    • +0
    ./usagecontext/LazyConfigurationUsageContext.java
  1. … 2 more files in changeset.
Remove internal types JavaLibrary and JavaLibraryPlatform (#10210)

  1. … 5 more files in changeset.
Remove internal types JavaLibrary and JavaLibraryPlatform

  1. … 5 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

  1. … 909 more files in changeset.
Upgrade commons-lang{->3} replacing packages

    • -1
    • +1
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 175 more files in changeset.
Change few private methods to static

    • -1
    • +1
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 252 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 900 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 900 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 888 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 895 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 900 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +5
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 900 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 1004 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 998 more files in changeset.
Rename method for clarity

markOptional -> mapToOptional to indicate this is really a mapping from

Gradle to the other metadata formats.

    • -1
    • +1
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 4 more files in changeset.
Mapping of feature variants for the Ivy world

When using feature variants in the Ivy world, there was no special

handling. This mostly meant that any added configuration based on the

feature variant ended up being extended by the default Ivy

configuration.

Since the goal is to model optional features, such extension makes

little sense.

This change set improves the situation yb decoupling the Maven scope

mapping from the optional status.

The optional status is now available to Ivy publication and is used to

control whether the `default` configuration should extend the created

configuration.

    • -2
    • +6
    ./usagecontext/ConfigurationVariantMapping.java
    • -1
    • +9
    ./usagecontext/FeatureConfigurationUsageContext.java
  1. … 6 more files in changeset.
Introduce `TargetJavaPlatform` attribute

This commit adds a new Java ecosystem attribute, corresponding

to the minimal target platform a producer supports. It's often

the case that Java libraries are published with different

classifiers for different target platforms. However, a classifier

is not enough. With this attribute, we now have a proper model

of the producer and consumer side.

By default, the producer will not ask for a specific target

platform, but will only accept those which are lower than or

equal to the current Gradle runtime version. However, if the

consumer says something, it will then select the most appropriate

variant based on the producer attributes.

In the Java world, a consumer can use Java libraries produced

for older versions of Java, but not newer versions. This rule

is baked in as the default compatibility rule. Disambiguation

will then chose the closest version.

    • -3
    • +4
    ./usagecontext/ConfigurationVariantMapping.java
  1. … 23 more files in changeset.
Use public API to publish Java Platforms

Follow-up to #8399

  1. … 4 more files in changeset.