SnapshotTaskInputsOperationIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Integrate with Gradle Enterprise plugin 3.0 (#11041)

    • -9
    • +12
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 52 more files in changeset.
Update scan support for Gradle Enterprise plugin 3.0

Gradle 6 is now only compatible with this plugin.

    • -9
    • +12
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 35 more files in changeset.
Use input changes in JavaCompile

    • -2
    • +2
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 7 more files in changeset.
Let integration tests in 'core' not use deprecated configurations

    • -1
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 11 more files in changeset.
Let integration tests in 'core' not use deprecated configurations

    • -1
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 11 more files in changeset.
Let integration tests in 'core' not use deprecated configurations

    • -1
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 11 more files in changeset.
Let integration tests in 'core' not use deprecated configurations

    • -1
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 11 more files in changeset.
Revert "Merge pull request #8880 from gradle/wolfs/jvm/relative-path-sensitivity"

This reverts commit f7abeaa588803ddbfb93dbf25239fe0c5cb79196, reversing

changes made to 7df0f4def46aa392b99d620cae35056cddb36f23.

    • -1
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 3 more files in changeset.
Change path sensitivity for Java compile to relative

The Java compiler care only about the name of the java file, not

necessarily about the relative path. It relies on the relative path

to find other classes in the same package.

There is also a problem for our incremental Java compiler, which does

not remove stale files when a file is moved in the hierarchy (#8874)

Therefore, the path sensitivity is changed to RELATIVE to avoid those

problems.

    • -2
    • +2
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 2 more files in changeset.
Calculate cache key even if only scans are enabled

Previously we only generated a key when caching was enabled for the work, so at least the build cache had to be enabled.

    • -3
    • +0
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 8 more files in changeset.
Fix tests

    • -1
    • +4
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 11 more files in changeset.
Consistently show file changes for single root file in Gradle Enterprise (#7422)

* Snapshot SingletonFileTree as RegularFileSnapshot

- extract SingletonFileTree as interface

- rename SingletonFileTree to DefaultSingletonFileTree

- rename MapFileTree to GeneratedSingletonFileTree

- GeneratedSingletonFileTree only accepts one file (as its only used for one file so far)

- add coverage for archives

    • -0
    • +28
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 22 more files in changeset.
Stop ignoring tests and fix removed deprecated build scan property

    • -4
    • +2
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 7 more files in changeset.
Move ExecuteTaskBuildOperationType (#7374)

* Move ExecuteTaskBuildOperationType to org.gradle.api.internal.tasks.execution

* Remove redundant import

    • -1
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 25 more files in changeset.
Do not use star-imports

    • -1
    • +6
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 1 more file in changeset.
Merge pull request #6921 from gradle/marc/issues/6296-ignore-annotation-processors-on-compile-classpath

Ignore annotation processors on compile classpath and forbid using -processorpath

    • -1
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix / ignore tests until build scan plugin 2.0 is out and used in AutoAppliedBuildScanPlugin

    • -22
    • +17
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 1 more file in changeset.
Track CompileOptions.annotationProcessorPath for up-to-date checking

    • -1
    • +5
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 3 more files in changeset.
Deprecate JavaCompile.effectiveAnnotationProcessorPath

    • -5
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 3 more files in changeset.
Remove deprecated Class.newInstance() (#6496)

`Class.newInstance()` was deprecated in Java 9.

    • -1
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 34 more files in changeset.
Don't address task input directories for now and get all tests passing

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>

    • -15
    • +38
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 4 more files in changeset.
Show current idea and start fixing tests

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>

    • -38
    • +15
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 3 more files in changeset.
Expose input file snapshots to build operation listeners (#6153)

    • -16
    • +160
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 32 more files in changeset.
Use external repository mirrors in build (#6094)

We've been bitten by external repository fluctuation for a long time.

This PR makes most of tests use repository mirrors set up by ourselves

via init script and system property.

There're still some tests not switching to mirrors, which would be fixed

in follow-up commits.

    • -1
    • +3
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 99 more files in changeset.
Require distribution in less integration tests

No distribution is required in any of the tests changed here.

Requiring a distribution has several drawbacks:

- you need to run intTestImage before testing any change

- the test can't run in the embedded executer, making it slow

- the test is harder to debug, as it's not run in the embedded executer

There are probably more tests that don't really needs this,

but just changing these few should improve turnarounds a bit.

    • -3
    • +0
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 6 more files in changeset.
Make unknown nested inputs available to build scan plugin (#3958)

The build scan plugin should be aware when a task is not cached or not

up-to-date if nested inputs have been loaded by a classloader not

managed by Gradle.

    • -3
    • +42
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 4 more files in changeset.
Leverage gradlePluginPortal() in tests

where the m2 URL was hardcoded

    • -1
    • +1
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 3 more files in changeset.
Calculate the build cache key when the build scan plugin has been applied (#2807)

    • -1
    • +38
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 13 more files in changeset.
Identify the target of scripts/plugins to build scans.

    • -5
    • +5
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 26 more files in changeset.
Handle null cases of task input snapshots. (#2073)

* Handle null cases of task input snapshots.

* Handle null cases of task input snapshots.

    • -14
    • +131
    ./SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 5 more files in changeset.