build

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Refactored buildSrc into modules to improve feedback cycles

- Created module boundaries around different languages and slow tests

    • -68
    • +0
    ./GradleStartScriptGenerator.groovy
    • -86
    • +0
    ./ReleasedVersionsFromVersionControl.groovy
    • -50
    • +0
    ./ReproduciblePropertiesWriter.groovy
    • -131
    • +0
    ./docs/AssembleSamplesDocTask.groovy
    • -152
    • +0
    ./docs/CacheableAsciidoctorTask.groovy
  1. … 514 more files in changeset.
Use jvmArgumentProviders in the Gradle build

  1. … 5 more files in changeset.
Introduce task for updating to latest nightly (#4155)

    • -0
    • +41
    ./remote/DefaultRemoteGradleVersionResolver.groovy
    • -0
    • +22
    ./remote/RemoteGradleVersionResolver.groovy
    • -0
    • +32
    ./remote/VersionType.groovy
  1. … 2 more files in changeset.
Fix Asciidoctor properties

Signed-off-by: Lóránt Pintér <lorant@gradle.com>

    • -0
    • +96
    ./docs/CacheableAsciidoctorTask.groovy
Convert the ClasspathManifest task to Kotlin

This is the first conversion in this batch where the target type

references other Groovy types from buildSrc.

Here ClasspathManifest references ReproduciblePropertiesWriter.

Some extra configuration was added to the buildSrc build:

- remove the dependency from groovy to java, added by groovy-base

it is not needed anyway

- add a dependency from kotlin to groovy

Other than that, quite straightforward conversion, an accessor to the

`base` convention was added.

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

  1. … 3 more files in changeset.
Fixed generation of links from user guide and dsl guide to methods in javadoc.

    • -5
    • +8
    ./docs/dsl/links/ClassLinkMetaData.java
  1. … 1 more file in changeset.
Fix buildSrc/Install task properties

Fix buildSrc/UserGuideTransformTask task properties

Fix buildSrc/UserGuideTransformTask task properties

Fix buildSrc/GradleStartScriptGenerator task properties

Fix buildSrc/Install task properties

Non-Gradle doc samples shouldn't be tested (#3569)

  1. … 4 more files in changeset.
Add ability to define an executable for rendering sample output in docs (#3567)

  1. … 1 more file in changeset.
Remove class to load from services.gradle.org

    • -197
    • +0
    ./ReleasedVersionsFromServicesGradleOrg.groovy
Address review comments

    • -66
    • +83
    ./docs/ExtractSnippetsTask.groovy
Fix cacheability of ExtractSnippetsTask

  1. … 1 more file in changeset.
Fix cacheability of ExtractSnippetsTask

  1. … 1 more file in changeset.
Make userguideAsciidoc depend on defaultImports

I took the opportunity to upgrade `GenerateDefaultImportsTask` to the

new Property... APIs.

    • -32
    • +22
    ./docs/dsl/source/GenerateDefaultImportsTask.java
  1. … 1 more file in changeset.
Upgrade asciidoctor plugin to 1.5.6 + remove file handle leak workaround

This also upgrades asciidoctorj to 1.5.6 which fixes the file handle

leak issue. For details, see:

https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/214#issuecomment-338167813

    • -28
    • +0
    ./docs/CacheableAsciidoctorTask.groovy
  1. … 1 more file in changeset.
Use versions from version control for tests

    • -0
    • +197
    ./ReleasedVersionsFromServicesGradleOrg.groovy
    • -0
    • +86
    ./ReleasedVersionsFromVersionControl.groovy
  1. … 3 more files in changeset.
First shot at storing released version in Git

The task to update the file would need to be run by the promotion jobs

```

./gradlew updateReleasedVersions -PcurrentReleasedVersion=4.4 '-PcurrentReleasedVersionBuildTimestamp=20171002153621+0000'

```

    • -0
    • +48
    ./ReleasedVersion.groovy
    • -0
    • +69
    ./UpdateReleasedVersions.groovy
  1. … 4 more files in changeset.
Unify implicit imports for Groovy and Kotlin

The Kotlin DSL uses the simple name to qualified name mapping

provided by the `ImportReader`, while the Groovy DSL so far fell

back to the imported packages list in some cases. The qualified

name mapping had a different order than the imported packages list,

leading to potential differences between Groovy and Kotlin.

The imported packages list predates the simple name to class mapping

and was still being used when there was more than one qualified class

name for a given simple name.

This commit fixes the discrepancy by ensuring that both collections

have the same order. I.e. selecting the first qualified name for a

simple name will yield the same result as iterating through the package

list and trying each one in turn.

The imported packages list is now only used in documentation, where it is

easier to digest than the full simple name to qualified name mapping.

    • -19
    • +8
    ./docs/dsl/source/GenerateDefaultImportsTask.java
    • -4
    • +15
    ./docs/model/SimpleClassMetaDataRepository.java
  1. … 5 more files in changeset.
Add missing inputs to asciidoc generation task

default-imports.txt was being included implicitly.

This adds default-imports.txt as a resource and

updates CacheableAsciidoctorTask to handle path

sensitivity for resources

    • -0
    • +7
    ./docs/CacheableAsciidoctorTask.groovy
  1. … 1 more file in changeset.
Make doc tasks cacheable

    • -0
    • +77
    ./docs/CacheableAsciidoctorTask.groovy
    • -6
    • +13
    ./docs/UserGuideSectionVerifier.groovy
  1. … 3 more files in changeset.
Make doc tasks cacheable

    • -0
    • +77
    ./docs/CacheableAsciidoctorTask.groovy
    • -6
    • +13
    ./docs/UserGuideSectionVerifier.groovy
  1. … 3 more files in changeset.
Only test latest patch release of each version in cross-version testing

Introduce a `quickFeedbackCrossVersionIntegTest` build type (#2226)

This build type is similar to `crossVersionIntegTest`, but only runs a subset of the released

Gradle versions. This is done so that we can use it in "commit" builds, for faster feedback, while

still running the whole test suite in a later stage, executed less often (because less likely to fail).

The current selection process is to select the first and last released versions for each major

release of Gradle. There's an option to ban specific versions of Gradle from this list, in which case

the selection process is the same, but without considering the banned versions.

  1. … 2 more files in changeset.
Use JavaInstallationProbe to detect Java vendor

    • -0
    • +11
    ./DefaultJavaInstallation.groovy
  1. … 2 more files in changeset.
Remove double date conversion in GradleVersion

We were putting the build time into the build receipt in

a different format than what we want in GradleVersion, which

is the only client of that information. Instead we now compute

the right value when we build the distribution and pass it verbatim

into GradleVersion.

  1. … 1 more file in changeset.
Build receipt should not be cacheable any more