internal-integ-testing.gradle.kts

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move some more special casing of local file dependencies closer to the other code that handles these dependencies.

  1. … 12 more files in changeset.
Revert "Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers""

This reverts commit 669ec8c0211ad7e36ec4a91921e2da5da8619bef.

  1. … 324 more files in changeset.
Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers"

This reverts commit 72dc39d9784910196e7840ac35317bc46ef4c4a1, reversing

changes made to 69ffd7ea87b343cb6f0f03b947b7605a5bea02b1.

  1. … 324 more files in changeset.
Move org.gradle.internal.file to :files

  1. … 19 more files in changeset.
Rename :files project to :file-collections

  1. … 243 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

  1. … 84 more files in changeset.
Simplify launcher project structure

  1. … 575 more files in changeset.
Change all subprojects to use 'implementation' dependencies

This includes:

- All projects now explicitly declare all dependencies to other

subprojects. This makes issues more visible, guards for accidental

addition of new dependencies, and leaks much less transitive

dependencies on the compile classpathes.

- All usages of 'runtime' to declare dependencies have been replaced

with 'runtimeOnly'

- All projects are now `java-library` (and declare this explicitly)

- Most remaining Groovy scripts are translated to Kotlin

- The old 'compile' and 'runtime' configurations are not

configured/created anymore for the 'testFixture' and 'integTest'

source sets.

- Some obsolete dependencies (see previous commits) are removed

- 'api' is used scarcely on purpose as the current project structure is

not well designed for this. The projects contain code for several

concerns of the build tool and thus putting complete projects on the

API of others exposes too much. They should be split up along

functional concerns first.

    • -31
    • +49
    ./internal-integ-testing.gradle.kts
  1. … 112 more files in changeset.
Move worker process related types to :workerProcesses

  1. … 34 more files in changeset.
Remove use of commons-collections

  1. … 9 more files in changeset.
Change the test fixtures to interpret ANSI control characters in the console output, rather than attempting to strip them out in complex and unreliable ways.

  1. … 5 more files in changeset.
Fix Gradleception build

After the fix, we didn't get the jar anymore when using only the

platform. So we need an explicit dependency on both the library

AND the platform.

  1. … 1 more file in changeset.
Remove `idea` plugin application and related workarounds

Signed-off-by: Jendrik Johannes <jendrik@gradle.com>

  1. … 7 more files in changeset.
Clarify IDEA import workaround

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

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

  1. … 13 more files in changeset.
Rename ReleasedVersions.{all -> allPrevious}Versions

To better describe what the method does now.

  1. … 2 more files in changeset.
Update to custom 1.1.3 release of littleproxy

Latest officially released version is incompatible with Guava >= 20.

  1. … 2 more files in changeset.
Depend on groovy-all

  1. … 11 more files in changeset.
Update sshd to 2.0.0

The library has been split into multiple artifacts which need to added

as dependencies separately.

  1. … 2 more files in changeset.
Merge branch 'master' into lptr/core/upgrade-to-groovy-2.5

  1. … 1 more file in changeset.
Prevent Spock from polluting downstream stuff with weird dependencies

This also means that we have to explicitly declare dependencies on groovy-json and groovy-xml where needed.

  1. … 4 more files in changeset.
Do not expose SLF4J Simple from sample-check

  1. … 1 more file in changeset.
Upgrade Spock to Groovy 2.5-compatible variant

  1. … 4 more files in changeset.
Fix Gradleception build

Gradle 5.0 changes the behavior of BOM import, which is now required to be

imported explicitly using the `platform` keyword. However, this is not yet

available on the Gradle version we use to build, so this commit introduces

a temporary fix so that we can use the same syntax on all tested versions

of Gradle.

  1. … 4 more files in changeset.
Remove the `sourceSets` property from the Java base plugin extension. The source sets are accessible through the project `sourceSets` extension instead.

  1. … 4 more files in changeset.
Merge remote-tracking branch 'origin/lacasseio/gradlebuild/lazy-task-conversion'

* origin/lacasseio/gradlebuild/lazy-task-conversion:

Improve laziness of gradlebuild by using build scans

Introduce `TaskContainer.withType<T>()`

Introduce `TaskProvider<T>.configureAs<S> { }`

Introduce `TaskContainer.register<T>(String, T.() -> Unit)`

Convert all remaining task creation to lazy configuration

  1. … 2 more files in changeset.
Introduce `TaskContainer.register<T>(String, T.() -> Unit)`

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

  1. … 25 more files in changeset.
Externalize samples testing infrastructure

This change replaces UserGuideSamplesRunner with an external library

called sample-check. Sample discovery, execution, and normalization

is delegated to this library, with some custom normalizers remaining

in the Gradle codebase.

Samples output has become co-located with the sample code. Samples tests

must be run with Java 8+.

  1. … 782 more files in changeset.
Convert :internal-integ-testing build script to Kotlin

    • -0
    • +96
    ./internal-integ-testing.gradle.kts
  1. … 2 more files in changeset.