soak.gradle

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert `soak.gradle` to `soak.gradle.kts`

  1. … 2 more files in changeset.
Exclude `distributionsTest` from check

  1. … 5 more files in changeset.
Model test fixtures as a propert artifact

Previously they were modeled as just a file collection,

which confused the IDEA importer. They now use the more

canonical way of defining an additional artifact.

In a next step they should be reimplemented using variant

aware dependency resolution, so that we don't need a special

DSL to declare these dependencies.

  1. … 14 more files in changeset.
Converted many Groovy script to Kotlin and improved the Kotlin DSL usage in some existing Kotlin scripts.

  1. … 95 more files in changeset.
Improve laziness of gradlebuild by using build scans

  1. … 16 more files in changeset.
Convert all remaining task creation to lazy configuration

  1. … 25 more files in changeset.
Make some more shit lazy

  1. … 5 more files in changeset.
Dogfood JUnit Platform

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

  1. … 30 more files in changeset.
Introduced the property moduleType to derive source compatibility settings

  1. … 80 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.
Dogfood JUnit Platform

  1. … 10 more files in changeset.
Prepare Java 10-specific builds similar to Java 9 setup

  1. … 5 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.
Make the Classycle configuration more idiomatic

by replacing the configuration function useClassycle() as extra project

property with a plugins {} block plugin request and a project extension.

The classycle extension has two properties, one for the excludes defined

per project, the other one to reference the report resources zip.

This change will make configuring classycle from Kotlin DSL scripts

nicer.

Introduce kotlin-dsl-upstream.kt in buildSrc org.gradle.kotlin.dsl

package for members missing from the Gradle Kotlin DSL intended to be

pulled upstream into the next Gradle Kotlin DSL release.

A sole extension added: reified ObjectFactory.listProperty()

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

  1. … 54 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.
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.
Update to latest nightly

+review REVIEW-6502

  1. … 8 more files in changeset.
Fix soak tests

When changing the type of `soakTest` from `IntegrationTest` to `SoakTest` the

classpath was lost - that caused that no soak tests have been executed.

Use timestamped version always (#754)

The motivation behind this is that we want to be able to cache of the

Gradle build - even when we use a timestamped version when the build receipt

includes a timestamp.

The strategy is that we use a different build receipt which doesn't

include a timestamp or commitId.

When building the intTestImage we replace the version info included

in the distribution by the one used for tests, since the Gradle version

for the test needs to be the same as for the distribution under test.

We also create a binary distribution used for tests only.

We changed the names of the distributions in `build/distributions` to

only contain the base versions - therefore we will also need to change

the promotion jobs.

As part of this we changed that:

- create a tooling api shaded jar with the test version inside for

tests

- Publish only the tooling api shaded jar with the test version to the local repo - only this jar is

used from the repo from tests

- Use base version in distribution zip name - this makes is much easier

to access the zip from tests

- Pass version of bin distribution to integration tests in

distributions - these are still testing the docs having a timestamp in

it

- for IDEA integration we need to have the build receipt on the classpath

when running integration tests. Looks like we currently

need to modify the idea model manually to achieve this.

  1. … 28 more files in changeset.
Publish only the toolingApi to local archives

It looks like this is the only dependency we

are using from there.

+review REVIEW-6331

  1. … 3 more files in changeset.
Fix soak tests and test-kit cross-version tests

To be treated as integration tests, a test task needs to be of

type org.gradle.testing.IntegrationTest. Normal Test tasks are

treated as unit tests without special setup/teardown.

  1. … 1 more file in changeset.
Exclude soak tests from java9 integTests as well

Added soak test category

  1. … 10 more files in changeset.