plugins.gradle.kts

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix incorrect split (#10689)

I made a mistake when splitting the test sets: suppose we have 1000 tests and want to split into 3 buckets, the previous split is [333,333,333,1], so the test include/exclude patterns are:

- include 1..333

- include 334..666

- exclude 1..999

We're missing a large subset of tests! This fixes this issue by correctly splitting the buckets.

  1. … 2 more files in changeset.
Fix split

  1. … 2 more files in changeset.
Upgrade other ASM dependencies from `6.0` to `7.1`

  1. … 4 more files in changeset.
Upgrade other ASM dependencies from `6.0` to `7.1`

  1. … 4 more files in changeset.
Upgrade other ASM dependencies from `6.0` to `7.1`

  1. … 4 more files in changeset.
Upgrade other ASM dependencies from `6.0` to `7.1`

Signed-off-by: Pap Lőrinc <lorinc@gradle.com>

  1. … 4 more files in changeset.
Fix cache-hit in flakiness detection performance test (#8482)

We don't want build cache hit in performance flakiness detection, however, previously the coordinator build resolves "flakiness-detection-commit" baseline to real commit id "5.3-commit-237a600", resulting in unexpected cache hit.

This PR fixes it by:

- On coordinator's side, pass "flakiness-detection-commit" as it is to worker build.

- On worker's side, worker build resolves "flakiness-detection-commit" to real commit version - this disables build cache.

Since `DetermineBaselines` is becoming more and more complex, this PR also adds a unit test for `DetermineBaselines` class.

  1. … 4 more files in changeset.
Fetch branch name from environment variable when necessary (#7947)

Previously we use JGit's branch, which might be not accurate.

Now we prefer environment variable over JGit.

  1. … 4 more files in changeset.
Migrate Pegdown to flexmark (#7575)

This fixes https://github.com/gradle/gradle-private/issues/1255.

We were using Pegdown to render markdown to html, but Pegdown is already deprecated. We also see timeout frequently recently, so I think it's time to get rid of it. `flexmark` is officially recommended as Pegdown's successor.

  1. … 5 more files in changeset.
Dogfood Kotlin DSL improvements in buildSrc build scripts

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

  1. … 15 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.
Replace string invoke by `register` or `create`

  1. … 9 more files in changeset.
Favor unambiguous apply() functions over the ambiguous apply {}

`apply {}` is ambiguous due to the `kotlin-stdlib` extension function

with the same name on `Any` that shadows our `apply {}` in some cases.

This commit contains mechanical changes of all apply {} usages, favoring

the unambiguous equivalent functions.

See the discussion in gradle/kotlin-dsl#682 for more details.

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

  1. … 16 more files in changeset.
Update mockito-kotlin to 1.6.0 (#5918)

Update mockito-kotlin to 1.6.0 to support building gradle/gradle on Java 10.

  1. … 1 more file in changeset.
Convert `JsoupPlugin` to precompiled script plugin

  1. … 2 more files in changeset.
Convert `PublishPublicLibrariesPlugin` to precompiled script plugin

  1. … 4 more files in changeset.
Convert StrictCompilePlugin to precompiled script plugin

  1. … 2 more files in changeset.
Convert ResumeBuildPlugin to precompiled script plugin

  1. … 2 more files in changeset.
Merge testing and integration-testing

  1. … 30 more files in changeset.
Refactored packages and plugins in buildSrc

- Extracted AvailableJavaInstallations plugin from GradleCompilePlugin

- Merged rest of GradleCompilePlugin into UnitTestAndCompilePlugin

- Moved integration-testing and test fixture code into integration-testing module

- Renamed clean up packages

- Added gradlebuild id to distribution test plugin

  1. … 45 more files in changeset.
Merge branch 'master' into hansd/integrationTesting

- Fixed merged conflicts due to reorg of buildSrc and removal of extra properties

  1. … 3 more files in changeset.
Moved grooyPlugin.gradle.kts into a buildSrc plugin

- Removed all usage of extra properties added by groovyPlugin

- Renamed to UnitTestAndCompilePlugin

- Extracted uber configuration from root and groovy script into JavaProjectsPlugin

  1. … 14 more files in changeset.
Convert most of testing to Kotlin

Performance tests for now live in the performance subproject

  1. … 84 more files in changeset.
Added gradlebuild namespace to plugins and more modularization in buildSrc

- Added to all plugins in buildSrc "gradlebuild." to their id

- Shortened plugin names

- Added ide and docs as additional modules

- Applied java-library plugin to Kotlin projects to model dependencies

  1. … 86 more files in changeset.
Moved more scripts to buildSrc and refactored buildSrc

- Moved wrapper.gradle.kts to buildSrc

- Moved resumeBuild.gradle to buildSrc

- Moved minifiedDependencies.gradle to buildSrc

- Moved dependenciesCheck.gradle to buildSrc

- Moved updateReleasedVersions.gradle to buildSrc

- Introduced configuration submodule for developer focused configuration

- Created buildSrc submodule for buildquality

- Created buildSrc submodule for packaging

- Created buildSrc submodule for profiling

- Created buildSrc submodule for versioning

- Introduced org.gradle.gradlebuild naming convention

- Introduced project-groups file for providing groups of subprojects

  1. … 41 more files in changeset.
Moved more scripts to buildSrc and refactored buildSrc

- Moved wrapper.gradle.kts to buildSrc

- Moved resumeBuild.gradle to buildSrc

- Moved minifiedDependencies.gradle to buildSrc

- Moved dependenciesCheck.gradle to buildSrc

- Moved updateReleasedVersions.gradle to buildSrc

- Introduced configuration submodule for developer focused configuration

- Created buildSrc submodule for buildquality

- Created buildSrc submodule for packaging

- Created buildSrc submodule for profiling

- Created buildSrc submodule for versioning

- Introduced org.gradle.gradlebuild naming convention

- Introduced project-groups file for providing groups of subprojects

  1. … 41 more files in changeset.
Moved wrapper and dependency resolution at configuration time check to buildSrc

- Fixed bug in dependency resolution script displaying always the root project name

  1. … 5 more files in changeset.
Deduplicated integration testing logic and moved it to Kotlin

- Extracted common logic between integration testing and cross version testing.

- Simplified test exclude logic

- Removed unnecessary extra properties

- Unified wrongly divergent configuration between integration testing and cross version testing

- Made configuration consistent for the system properties of all integration test tasks

- Removed unnecessary global (withType) configuration logic.

  1. … 12 more files in changeset.
Migrated gradle/publish.gradle to Kotlin

- Moved code to buildSrc

- Added a test for some of the functionality

- Removed some unnecessary execution time configuration

  1. … 5 more files in changeset.
Refactored buildSrc into modules to improve feedback cycles

- Created module boundaries around different languages and slow tests

    • -0
    • +69
    ./plugins.gradle.kts
  1. … 528 more files in changeset.