Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Set mirror for exemplar tests (#6783)

Previously all our doc tests are executed by `exemplar`, which can't set mirrors. This PRs upgraded to exemplar `0.6.1` and exclude `asciidoctorj` to avoid `Can't create process, argument list too long` issue on Windows.

Add title for performance report badges

Add smoke test for gradle-versions-plugin

Add smoke test resources for Idea

Issue: #6804

    • -5
    • +5
    /subprojects/smoke-test/smoke-test.gradle
Add metadata about type of documentation for search purposes

    • -0
    • +11
    /subprojects/docs/src/docs/css/manual.css
Re-emphasize that domain object collections are not thread safe

Add workaround for not working MODULE_WORKING_DIR

See https://youtrack.jetbrains.com/issue/IDEA-194910.

Merge pull request #6799 from gradle/lptr/core/upgrade-to-groovy-2.5-followup

Followup after Groovy 2.5 uprade

Merge pull request #6670 from gradle/lptr/core/use-prefixing-hasher-everywhere

Use prefixing MD5 hasher by default

Nicer Groovy code

Revert to using days instead of milliseconds in test

Remove unnecessary comments

Apparently Groovy 2.5 has changed the semantics of `pop()`:

* Note: The behavior of this method changed in Groovy 2.5 to align with Java.

* If you need the old behavior use 'removeLast'.

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.

Fix tests

Fixes based on review comments

Merge pull request #6791 from gradle/wolfs/slow-internet-connection-cache

Don't cache patchExternalModules for slow internet

Use Intellij platform runner by default

Delegation doesn't work out of the box right now.

Merge pull request #6774 from gradle/eskatos/plugins/markers-metadata-only

Prevent plugin resolution to try download jars for plugin markers

Javadocs.

Fix race condition in composite build task execution.

This change just adds a quick fix for this. A better fix that removes some complexity and makes this issue go away will be added later.

Merge pull request #6682 from gradle/lptr/core/upgrade-to-groovy-2.5

Changes:

- Upgraded to Groovy 2.5.2.

This required building our own `groovy-all.jar` (see https://github.com/gradle/gradle-groovy-all), because Groovy 2.5 stopped shipping the uber-jar and replaced it with a BOM. I tried to use the separate JARs, but it poses a number of issues, most importantly that the increased length of the classpath breaks our Windows tests. So we decided to go with repackaging Groovy. In the future it would be nice to remove the need for the repackaging, and maybe even remove some of the Groovy libs. I mean, c'mon, we ship classes from `groovy-swing`!

- Downgraded `opentest4j` to work around https://github.com/ota4j-team/opentest4j/issues/49, introduced by an upgrade in TestNG.

- Upgraded compiler memory in IntelliJ from 2 GB to 3 GB because Groovy compilation with 2.5 seemed to slow down a lot, and produce OOMEs occasionally. With the increased amount of memory Groovy compilation is actually quite snappy.

- Replaced calls to `DateGroovyMethods` extension methods. This led to the realization that some of our timeouts mistakenly use days instead of milliseconds. We should fix these separately, added `TODO`s.

- Bumped Spock to the Groovy 2.5 variant and fixed a number of issues with our tests. Some of these issues are valid ones, others seem to indicate bugs in either the Groovy compiler or Spock. Reported the issue to Spock: https://github.com/spockframework/spock/issues/880

The `Specification` class added by @ldaley to fix type inference in IntelliJ doesn't work anymore unfortunately. I left the code commented out so it's easy to fix it if someone wants to.

- Groovy 2.5 adds local variable type information that needs to be remapped in our script remapper, so I added that.

- Groovy 2.5 uses the `ExtensionModule` mechanism slightly differently which necessitated the exposure of some more packages and resources from `gradleApi()` (see changes in `DefaultGradleApiSpecProvider.java`)

- Replaced references to types in `com.sun.jdi` in `JDWPUtil` with reflection to work around an IntelliJ bug we hit: https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FIDEA-198715

- There is some weirdness wrt Tooling API progress tests where the order of events seems to have changed somewhat. See changes in `ToolingApiBuildExecutionCrossVersionSpec.groovy` and `ToolingApiModelCrossVersionSpec.groovy`.

- Stopped using Groovy JSON in `:buildSrc:binaryCompatibilityCheck` because of a classloading issue with Groovy's `FastStringUtils`.

Merge remote-tracking branch 'origin/release'

* origin/release:

Bump to 4.10.2 nightly

Recommend people update to 4.10.2, not base 4.10

Reset public API and baseline for comparison

Bump to 4.10.2

Fix #6750

Fix #6735

Merge remote-tracking branch 'origin/sg/50/placeholders'

* origin/sg/50/placeholders:

remove TaskConfiguration by inlining all methods

Remove unnecessary method

Add since 5.0 tag

Hold a project lock when reporting on tasks in other projects

Add release notes for removed placeholder tasks

Relax ordering of plugin application operation asserts

Fix integration tests that relied on placeholder behavior

Remove placeholder tasks

    • -0
    • +12
    /subprojects/docs/src/docs/release/notes.md
Bump to 4.10.2 nightly

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Recommend people update to 4.10.2, not base 4.10

    • -1
    • +3
    /subprojects/docs/src/docs/release/notes.md
Publish 4.10.2-20180917175211+0000

Publish 4.10.1-20180917164803+0000

Don't cache patchExternalModules for slow internet

Running with `-Dslow.internet.connection=true` or setting

`systemProp.slow.internet.connection=true` disables now caching

of `patchExternalModules` since the artifact to download is really big

and it may be faster to build it locally.

Reset public API and baseline for comparison

remove TaskConfiguration by inlining all methods