Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert `JsoupPlugin` to precompiled script plugin

Convert `PublishPublicLibrariesPlugin` to precompiled script plugin

Fix KDoc link

Convert `JmhPlugin` to precompiled script plugin

Polish `buildSrc/build.gradle.kts`

- Compose method

Polish use of final parameter in JavaPlugin when configuring JavaDoc

Merge remote-tracking branch 'origin/sg/lazy/java'

* origin/sg/lazy/java:

Add a test to assert that we do not configure too many tasks with the Java plugin

Use createLater to create more tasks for Java plugins

Make Java plugins use lazy task APIs

Move most important point to the top (#5186)

Augment, don't overwrite, `kotlinOptions.freeCompilerArgs`

Plugins might want to add their options as well.

Polish `buildSrc/build.gradle.kts`

- Let it breath

Upgrade `buildSrc` to `kotlin-dsl` 0.17.2 and renable ktlint

Fix publishing after last wrapper update

by accounting for publishing {} not being @DeferredConfigurable anymore

and using afterEvaluate {} instead

Remove coordination service from task execution plan

The callers of methods on the execution plan need to take care of

proper synchronisation.

Publish :provider-spi and :provider-plugins

Add gradle-kotlin-dsl-provider-plugins module to optional extensions classpath

Fix NPE in RestartEveryNTestClassProcessor.stopNow() (#5145)

* Fix NPE in RestartEveryNTestClassProcessor.stopNow()

* Add test verifying RestartEveryNTestClassProcessor.stopNow() after stop() does nothing

Introduce empty :provider-spi and :provider-plugins projects

    • -0
    • +2
    /provider-plugins/.gitignore
    • -0
    • +15
    /provider-plugins/build.gradle.kts
    • -0
    • +2
    /provider-spi/.gitignore
    • -0
    • +13
    /provider-spi/build.gradle.kts
Merge branch 'master'

Simplify TaskExecutionPlanParallelTest

Polish Release Notes

- Add link to Signing Plugin

- Use same indentation as in other examples

- Use "Ivy/Maven Publish Plugin" instead of "Ivy/Maven Publish_ing_ Plugin"

    • -7
    • +7
    /subprojects/docs/src/docs/release/notes.md
Document new POM customization DSL in Release Notes

Resolves #3348.

    • -0
    • +35
    /subprojects/docs/src/docs/release/notes.md
Release project lock when task is skipped

Add new POM customization properties to DSL Reference

This commit moves all publishing related types to a separate section in the DSL Reference sidebar because the list of core types would otherwise have been very long.

Issue: #3348

    • -5
    • +55
    /subprojects/docs/src/docs/dsl/dsl.xml
    • -0
    • +44
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomCiManagement.xml
    • -0
    • +68
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomContributor.xml
    • -0
    • +41
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomContributorSpec.xml
    • -0
    • +71
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomDeveloper.xml
    • -0
    • +41
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomDeveloperSpec.xml
    • -0
    • +44
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomDistributionManagement.xml
    • -0
    • +44
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomIssueManagement.xml
    • -0
    • +50
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomLicense.xml
    • -0
    • +41
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomLicenseSpec.xml
    • -0
    • +59
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomMailingList.xml
    • -0
    • +41
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomMailingListSpec.xml
    • -0
    • +44
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomOrganization.xml
    • -0
    • +50
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomRelocation.xml
    • -0
    • +50
    /subprojects/docs/src/docs/dsl/org.gradle.api.publish.maven.MavenPomScm.xml
Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
  1. … 23 more files in changeset.
Merge pull request #5166 from gradle/oehme/publishing/no-sw-model

Create publishing tasks without model rules

Dedupe deep expression

Fix DefaultTaskPlanExecutionTest

Intern strings when reading module metadata from cache

Dependency resolution of large dependency graphs involves a significant

number of comparisons of strings(group, artifact, version, ...). Most of

those come from the module metadata cache, and even if we use hashmaps,

we still need to perform `equals` comparisons on strings, when in most

of the cases they should be identical. This commit takes advantage of

knowing that to add a cost when we read module metadata (interning), but

realizing that the debt is paid when comparing strings during resolution.

The interner is build scoped (in order to avoid memory leaks), thread-safe,

and shared with the dependency notation converter, so that module selectors

created from strings found in the build scripts are using the same strings

as the ones from the module metadata cache.

Ideally, we should also do this for the strings used during parsing.

  1. … 3 more files in changeset.
Dependency locking documentation

Fixes #5020

Fix releasing of locks

Before our changes, withStateLock made sure that the aquired locks

were released when trying to schedule a task. Now we need to make sure

of that ourselves.