Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix ParameterNamesIndex task corner case issue

where types of parameter names from the same package as the observed

method were unqualified

impact was misses when querying the index for parameter names

this is an opportunistic fix as the issue doesn't affect currently

considered methods

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

  1. … 1 more file in changeset.
Revert "Mark `compile` and `runtime` configurations as not resolvable"

The IDEA sync resolves the compile and runtime configurations and fails

if these cannot be resolved.

This reverts commit 15043188d7bce27d5536343cd82246ad3de9a73f.

Mark `compile` and `runtime` configurations as not resolvable

This doesn't fix anything, but allows us to capture some errors sooner,

in particular badly behaving plugins.

fix issue

  1. … 1 more file in changeset.
Add environment specific versions of test tasks

  1. … 10 more files in changeset.
Let each module jar contain an api parameter names index

for the GradleApiParameterNamesTransform to consume them

instead of regenerating it on each xform

this makes the build configuration back to normal speed

the :module:parameterNamesIndex task is cacheable but isn't that cheep

:apiMetadata:apiParameterNamesIndex is still required until the next

wrapper update

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

    • -0
    • +41
    ./kotlin/gradlebuild/api-parameter-names-index.gradle.kts
  1. … 10 more files in changeset.
Replace external modules binary dependencies by project dependencies

at this stage the build produces distributions that embed kotlin-dsl

built from subprojects instead of downloading artifacts produced by

gradle/kotlin-dsl.

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

  1. … 3 more files in changeset.
Let buildSrc kotlin code satisfy comment formating ktlint rule

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

  1. … 4 more files in changeset.
Disable fork point commit detection

Disable fork point commit detection

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. … 3 more files in changeset.
Build commit distribution when necessary (#7616)

This fixes https://github.com/gradle/gradle-private/issues/1640 and partially fixes https://github.com/gradle/gradle-private/issues/1632 .

In https://github.com/gradle/gradle/pull/7337 we supported running performance tests against fork point commit, now we want to make `5.1-commit-1a2b3c4d` a valid baseline version - users can specify this version in `--baselines` parameter:

- If commit baseline is set explicitly (like `5.1-commit-1a2b3c4d`), then build the corresponding commit distribution.

- Otherwise, if the current branch is not `master` or `release`, calculate the fork point commit then build the corresponding commit distribution.

This PR also publishes build scan to TeamCity build log and reuses `RemoteProject` logic and get rid of duplicate `git clone` code.

    • -0
    • +75
    ./kotlin/org/gradle/plugins/performance/DetermineBaselines.kt
  1. … 3 more files in changeset.
Add comments to IDEA import workarounds in build scripts

  1. … 1 more file in changeset.
Revert "Do not add Gradle out folders as source folders to IDEA when using Sync"

This reverts commit 5d47f9be477247f5b972cbe051e94eb88adf5fda.

Do not add Gradle out folders as source folders to IDEA when using Sync

This is not needed, because IDEA adds the addition resource folders

automatically as additional dependencies to the corresponding modules.

See also: https://youtrack.jetbrains.com/issue/IDEA-202346

Ignore issues with classfiles

Remove empty performanceReport task

Fix deprecations in buildSrc

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

Run performance test against fork point commit (#7337)

This closes https://github.com/gradle/gradle-private/issues/1526

Basically, the idea is, we should run feature branch performance tests against the distribution which is built from the "fork point commit". This can reduce the effects of performance regression which is not introduced by the feature branch.

Two tasks are added into the build and depended by performance task:

- `determineForkPoint`, run `git` command to determine the fork point commit. It's done during the execution phase, then it sets the commit for `buildForkPointDistribution` task.

- `buildForkPointDistribution`, try to build a distribution from the fork point commit.

`buildForkPointDistribution` is cachable so it only needs to run once. Its input is the fork point commit, the output is two files: a binary distribution and a tooling api jar. The generated binary distribution is used to run individual worker tests.

    • -0
    • +45
    ./kotlin/org/gradle/plugins/performance/DetermineForkPoint.kt
  1. … 10 more files in changeset.
Fix gradle/gradle from using disallowed method

  1. … 2 more files in changeset.
Revert "Revert "Merge pull request #7296 from gradle/oehme/java9/suppress-groovy-warnings""

This reverts commit 44f9cc7346b1dfbc4fdeff8421da368660749fd4.

  1. … 9 more files in changeset.
Revert "Merge pull request #7296 from gradle/oehme/java9/suppress-groovy-warnings"

This reverts commit 166f63359900f1ef7115113cdf4a0699e425f645, reversing

changes made to cc54813e66af95f14764a40abbf4a72f200c60f2.

  1. … 9 more files in changeset.
Let the Gradle build work with a disallowed method

Until this can be fixed in https://github.com/gradle/gradle-native/issues/864

Let the Gradle build work with a disallowed method

Until this can be fixed in https://github.com/gradle/gradle-native/issues/864

Prevent Groovy illegal access warnings

Start all processes that are likely to use Groovy with the

necessary --add-opens arguments to avoid noisy warnings that

our users can't do anything about.

  1. … 9 more files in changeset.
Remove jmock dependency for Gradle build

  1. … 4 more files in changeset.
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