JavaCompileOnlyDependencyIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Avoid more deprecated APIs

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 43 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 64 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 56 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 60 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 63 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 61 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 61 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 64 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 64 more files in changeset.
Let integration tests in 'integ-test' not use deprecated configurations

    • -28
    • +42
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 12 more files in changeset.
Let integration tests in 'integ-test' not use deprecated configurations

    • -28
    • +42
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 12 more files in changeset.
Let integration tests in 'integ-test' not use deprecated configurations

    • -28
    • +42
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 12 more files in changeset.
Let integration tests in 'integ-test' not use deprecated configurations

    • -28
    • +42
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 12 more files in changeset.
Fix sample output

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 68 more files in changeset.
On CI redirect jcenter queries to local repo for integration tests

    • -9
    • +3
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 51 more files in changeset.
Use separate output directories for all JVM languages

- Introduce an outputDir on SourceDirectorySet

- Default output directory is now `build/classes/<source directory set name>/<source set name>`

- Example: Java compilation goes to build/classes/java/main instead of build/classes/main

- Adapt JDepend, FindBugs, Test and ValidateTaskProperties tasks to handle multiple class directories

- Deprecate setClassesDir/getClassesDir on SourceSetOutput

- Calling setClassesDir restores old behavior (shared output directory)

- Introduce addClassesDir and getClassesDirs on SourceSetOutput

- OSGi plugin needs a single classes directory, so introduce 'osgiClasses' task that syncs all classes to a single directory

Most of the changes to integration tests are find classes in their new location. Helper methods in AbstractIntegrationSpec

can locate class files vs hardcoding a path.

Squashed commit of sg-split-jvm-classes branch for REVIEW-6502

    • -2
    • +2
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 119 more files in changeset.
Remove accidentaly `compileOnly extendsFrom compile`

This was an oversight when we implemented compileOnly dependencies.

In a first iteration `compileOnly` was set as the sourceSet's compile classpath.

We later changed this and introduced the `compileClasspath` configuration to better

split these concerns. At that point we forgot to remove the extends relationship

from compileOnly. The result is that there is no convenient way to query for all

dependencies that are indeed "compile only".

After this change users can now resolve `compileOnly` and actually only get the

dependencies that are used during compilation only, instead of also getting the

`compile` dependencies.

    • -4
    • +10
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 6 more files in changeset.
Use doLast instead of left shift operator

Made this change in preparation for deprecating the left shift operator.

+review REVIEW-6236

    • -15
    • +29
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 163 more files in changeset.
Some more coverage for compileOnly

+review REVIEW-5807

    • -0
    • +67
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
Fix tests on Windows

+review REVIEW-5807

    • -5
    • +7
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
Fix test on JDK 1.6

+review REVIEW-5807

    • -1
    • +1
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
Fix class name case

    • -0
    • +187
    ./JavaCompileOnlyDependencyIntegrationTest.groovy
  1. … 1 more file in changeset.