groovyProject.gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Back out a few unnecessary changes

  1. … 2 more files in changeset.
Make a bunch of shit lazy

  1. … 14 more files in changeset.
Convert gradle/groovyProject.gradle to Kotlin

In the same vein as the previous commit, a bit more involved.

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

  1. … 2 more files in changeset.
Extract idiomatic test-fixtures plugin to buildSrc

Plugin is applied to all "groovy projects", see `groovyProject.gradle`.

The plugin configures the Project as a test fixtures producer if

`src/testFixtures` is a directory.

The plugin configures the Project as a test fixtures consumer according

to the `testFixtures` extension configuration.

No more Groovy Closure with optional parameters as a Project extra

property.

Test-fixtures configuration rely on a Groovy DSL only feature that

allows to pass a collection of dependency notations when declaring

dependencies. The Kotlin DSL lacks this feature, see

https://github.com/gradle/kotlin-dsl/issues/639

A workaround has been put in place in `build-extensions.kt` in order to

move forward until this is properly fixed in the Kotlin DSL.

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

  1. … 70 more files in changeset.
Convert gradle/integTest.gradle to Kotlin

First `gradle/*.gradle` script converted to Kotlin.

As we can't use the plugins {} block in applied scripts, we don't get

static accessors to extensions, conventions and configurations, so we

have to rely on string literals and helpers like

configure<ExtensionType>() and the<ExtensionType>().

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

  1. … 2 more files in changeset.
Let the JVM used to run tests in the gradle/gradle build be set by a Gradle/System property (#3735)

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

Let the JVM used to run tests in the gradle/gradle build be set by a Gradle/System property (#3735)

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

Change intTestImage distribution to only contain dependencies

This assembles a distribution that only contains the dependencies

required by the subproject under test. This way we stricter enforce

modularization and increase the cache hits for tests that run against

the distribution image.

  1. … 19 more files in changeset.
Change intTestImage distribution to only contain dependencies

This assembles a distribution that only contains the dependencies

required by the subproject under test. This way we stricter enforce

modularization and increase the cache hits for tests that run against

the distribution image.

  1. … 19 more files in changeset.
Remove unused pullRequestValidation build type

  1. … 1 more file in changeset.
Only apply integ testing scripts when project has integ tests (#2752)

  1. … 5 more files in changeset.
Always apply crossVersionTest.gradle

Just like cross-version testing tasks were always created before.

Build types, grouping and splits rely on this behavior.

  1. … 1 more file in changeset.
Rename tapiTest to crossVersionTest and apply review comments

  1. … 349 more files in changeset.
Ignore ci properties for distribution tests

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

  1. … 2 more files in changeset.
Add Java vendor as an input for compile and test tasks

In the coverage phase we use different Java vendors.

Therefore, we need to track the vendor if we want to use the build cache.

  1. … 1 more file in changeset.
Fix normalization for `patchExternalModules`

  1. … 1 more file in changeset.
Remove test build receipt

  1. … 13 more files in changeset.
Ignore forking system properties for inputs

These shouldn't influence the outcome of a test, only parallelism.

Still, they do not allow us pulling from the remote cache to a

developer machine.

+review REVIEW-6443

Changed a few more projects to use the `java-library` plugin.

  1. … 8 more files in changeset.
Changed a couple more projects to use `java-library` plugin. Also inject Groovy as a test compile dependency for all projects, and removed the declaration from various project's build files.

  1. … 34 more files in changeset.
Always add custom action to test task

This is to prevent the task’s action classloader hash change based on the condition, preventing the result of the task from being shared.

Use baseVersion consistently

Note that versionBase from the build-receipt.properties is

only used in `incoming-distributions.gradle`.

PR #798

  1. … 6 more files in changeset.
Move ClasspathManifest to buildSrc

+review REVIEW-6331

  1. … 1 more file in changeset.
Use only baseVersion in jar files

Another change to improve caching of the Gradle build.

This is due to various places where the name of the jar file is used

- classpath in the manifest of the launcher

- name of jar files in the distribution

PR #798

  1. … 4 more files in changeset.
Generate classpath manifests in a reproducible way

Add only the base version to the manifest

This should make the jars more cacheable between

builds.

pr #791

  1. … 1 more file in changeset.
Fix classpathManifest cacheability

+review REVIEW-6271

Make the classpath manifest cacheable

There was a timestamp in the properties file

which made the jar task out of date.

Always add integTest for now, as build splits depend on it

  1. … 1 more file in changeset.