Clone
 

jendrik johannes <jendrik@gradle.com> in Gradle

[WiP] Explicitly declare different Gradle distributions for testing

  1. … 109 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

  1. … 108 more files in changeset.
Remove IDEA workaround no longer needed due to delegation to Gradle

Clean up TestFixturesPlugin

- Removes outdated TODO

- Removes workaround no longer required (as we now use maven-publish)

- Make some code more conciese

Remove 'html' file from src folder

Remove 'integration test'

This is not a integration test per our definition (it does not run

Gradle) and a similar test exists as 'unit test' already anyway.

Depend on distributions instead of using custom configurations

    • -0
    • +22
    /subprojects/performance/performance.gradle.kts
    • -3
    • +2
    /subprojects/samples/samples.gradle.kts
Define different levels of gradle distributions

These can be used for integration testing where not a full

distribution is needed.

    • -12
    • +5
    /subprojects/plugins/plugins.gradle.kts
    • -6
    • +2
    /subprojects/test-kit/test-kit.gradle.kts
Correct type of Java compiler plugin project

This does not contain any public API and is also not part of Gradle core.

Mark projects as 'plugins' that are shipped as 'plugins' in distribution

    • -1
    • +1
    /subprojects/test-kit/test-kit.gradle.kts
    • -1
    • +1
    /subprojects/workers/workers.gradle.kts
Remove hardcoded dependencies test runtime dependencies

These introduce undesired dependencies from a core module to plugins

during testing.

    • -0
    • +3
    /subprojects/wrapper/wrapper.gradle.kts
Remove hardcoded dependencies test runtime dependencies

These introduce undesired dependencies from a core module to plugins

during testing.

    • -0
    • +3
    /subprojects/wrapper/wrapper.gradle.kts
Remove hardcoded dependencies to 'distribution plugins'

These introduce undesired dependencies from a core module to plugins

during testing.

Remove runtime only dependencies to :runtimeApiInfo and :apiMetadata

These are in the core of the Gradle distribution and should always

be available at runtime.

  1. … 53 more files in changeset.
Address compiler warning in 'core' subproject (#13184)

  1. … 52 more files in changeset.
Use correct ReplacedBy annotations (#13165)

Address compiler warning in 'core' subproject

  1. … 50 more files in changeset.
Address compiler warning in 'core' subproject

  1. … 52 more files in changeset.
Address compiler warning in 'core' subproject

  1. … 52 more files in changeset.
Address compiler warning in 'core' subproject

  1. … 49 more files in changeset.
Address compiler warning in 'core' subproject

  1. … 52 more files in changeset.
Use correct ReplacedBy annotations

Use correct ReplacedBy annotations

Use correct ReplacedBy annotations

Merge pull request #12986 from gradle/jjohannes/idea-config

Cleanup IDEA configuration of gradle/gradle build

Check type before casting (#13002)

Otherwise this may fail if the artifact is the result of

an artifact transform (ComponentFileArtifactIdentifier).

Always apply the idea plugins

Do not have the build setup depend on system properties.

This may have unwanted side effects.

Remove test run config setup

This is not needed when testing is delegated to Gradle

    • -3
    • +0
    /buildSrc/subprojects/ide/ide.gradle.kts
Remove unnecessary IDEA configuration code

Now that everything is delegated to Gradle, we do not need to configure

certain aspects in IDEA anymore.

Some code - the setup of the "run" task - was also still configured

for the old "one module per project" setup and thus broken.

There was also some unnecessary configuration, because IDEA now does

some things by default by now (like knowing about buildSrc/build).

All warnings in the IdeaPlugin code have been addressed

and TODO comments have been clarified.

There was some uncommented code for setting inspections with the comment

to activate it later. This dead code has been removed as the moment

to activate it never came and the rule setup was outdated by now in

any case.

    • -2
    • +1
    /buildSrc/subprojects/ide/ide.gradle.kts
Remove unnecessary IDEA configuration code

Now that everything is delegated to Gradle, we do not need to configure

certain aspects in IDEA anymore.

Some code - the setup of the "run" task - was also still configured

for the old "one module per project" setup and thus broken.

There was also some unnecessary configuration, because IDEA now does

some things by default by now (like knowing about buildSrc/build).

All warnings in the IdeaPlugin code have been addressed

and TODO comments have been clarified.

There was some uncommented code for setting inspections with the comment

to activate it later. This dead code has been removed as the moment

to activate it never came and the rule setup was outdated by now in

any case.

    • -2
    • +3
    /buildSrc/subprojects/ide/ide.gradle.kts