Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Avoid the use of configureEach inside a lazy task's configuration action

Merge CORE and PLUGIN module types

  1. … 28 more files in changeset.
Delete UNDEFINED ModuleType

Document module types

Fix broken buildScanPerformance tests (#6814)

* Fix broken buildScanPerformance tests

* Fix BuildScanPerformanceTest's reportDir

* Decrease to 1 for now to test

* Fix warning

* Change test name to test id

* Make BuildScanPerformanceTest cacheable

* Make ReportGenerationPerformanceTest compile static

* Fix override issue

  1. … 5 more files in changeset.
Merge branch 'master'

Use Java 8 for internal subprojects

Improve performance report generation (#6642)

This PR improves performance report by:

- Merge different reports into one.

- Sort test scenarios in the order:

- Failed scenarios.

- Scenarios which are about to fail.

- Confidence.

- Show all important information in relevant execution.

- Show different result in different colors.

  1. … 16 more files in changeset.
Update jsoup to 1.11.3

jsoup no longer converts Windows line separators to Unix ones. Thus, a

few test reporting test fixtures had to be adjusted.

  1. … 5 more files in changeset.
And even more memory for JFR

Merge pull request #6523 from gradle/wolfs/idea-import/spike

Use idea-ext plugin to allow native Intellij import of gradle/gradle

Merge pull request #6692 from gradle/oehme/forbid-java7

Raise minimum build JVM version to Java 8

  1. … 3 more files in changeset.
Merge branch 'master'

  1. … 3 more files in changeset.
Use byte-buddy so Spock can define classes on JDK 11

  1. … 4 more files in changeset.
Apply cglib rule only once in DependenciesMetadataRulesPlugin

Issue: #6327

  1. … 5 more files in changeset.
Increase memory for JFR

Raise minimum build JVM version to Java 8

  1. … 30 more files in changeset.
Exclude Ant dependency of cglib

Spock 1.2-RC2 bumped its cglib dependency to 3.7.2 which changed its

Ant dependency to 1.10.3 which is incompatible with the current version

constraint that strictly requires 1.9.11. Since we cannot yet upgrade

to Ant 1.10.x because it requires Java 8, we now use a component

metadata rule to remove the dependency from cglib to Ant.

  1. … 4 more files in changeset.
Register performance test inputs as nullable

Now that runtime input validation is strict, we need to register input

properties as nullable.

Remove dependency on `prepareSamples`

Nobody wants to run `prepareSamples`.

Use actual performance templates as inputs

Extract logic to find all generator tasks

And fix it to include all project generator tasks.

Extract logic to find all generator tasks

And fix it to include all project generator tasks.

Favour indexer over explicit `get/set` invocation

  1. … 2 more files in changeset.
Polish Kotlin build scripts and plugins

- Favour `KClass` based overloads wherever possible

  1. … 12 more files in changeset.
Merge branch 'master' into wolfs/idea-import/spike

Remove dependency on Java 7 in our build (#6494)

### Context

Currently we need 3 JDKs to build Gradle:

- Java 7 to compile most code

- Our build runs on Java 8

- Java 9 to compile some code using Java 9 API.

Our goal is to use only one JDK. After this PR, we can:

- If running the build on Java 9/10, we can only use a single JDK.

- If running the build on Java 8, we still need an extra JDK to compile some code using Java 9 API. After we migrate all CI builds to Java 9/10, we may completely drop the support for running on Java 8.

However, with https://youtrack.jetbrains.com/issue/IDEA-197550 unsolved, we still can't run Gradle integration tests in IDEA with JDK 10. Everything else would work fine on JDK10.

#### Remove multiple compiler JDKs

Previously, we use different JDKs to compile different subprojects, which made things really complicated. This PR greatly simplify the compiler selection code, after this PR, we only need one single Java9-compatible JDK to compile all code.

#### Refine verification mechanism

Previously, we had verification for:

- If build cache enabled, verify the current build is running on Java 8 because CI is running on Java 8.

- If running some specific tasks (e.g. distribution generation), verify the build/compiler JDK is Oracle JDK.

This PR does the following improvements:

- Since all `Compile` tasks share a common compiler, verify that compiler is Java9-compatible. Oracle JDK is not mandatory.

- If running some specific tasks (e.g. distribution generation), verify the build/compiler JDK is Oracle JDK.

This PR collects these verification into a single plugin, instead of code everywhere previously.

  1. … 14 more files in changeset.
Use resourceDirs for resources

It seems more correct to use resourceDirs for resources.

This reverts commit 8a6406b71dc50c106ce606684fbe15c9371c9086.

  1. … 2 more files in changeset.
Revert "Use resourceDirs for resources"

This reverts commit 3669395ec066fc29fc7eb119e82e0a7de4e640b2.

  1. … 2 more files in changeset.
Use resourceDirs for resources

  1. … 2 more files in changeset.