SamplesJavaMultiProjectIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 285 more files in changeset.
Undeprecate --no-rebuild

A change in `buildSrc` causes the whole project to become out-of-date.

Thus, when making small incremental changes, the `--no-rebuild`

command-line option is often helpful to get faster feedback and is

therefore no longer deprecated.

Resolves #6968.

    • -1
    • +0
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 6 more files in changeset.
Use global init script to set mirrors for buildSrc (#6627)

    • -4
    • +9
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 50 more files in changeset.
include Kotlin DSL sample for chapter tutorial_java_projects

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -74
    • +99
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 65 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.

    • -2
    • +0
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 99 more files in changeset.
Apply repository mirroring to more sample tests

Also introduces a mirror for JBoss repository

    • -0
    • +2
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 32 more files in changeset.
Fix failed sample on Java 9 (#5485)

These sample tests were disabled previously because of the failures observed

on Java 9. This PR fixes the problems:

- Upgrade dependencies to newer version which supports Java 9 version schema (JEP-223)

- Remove usage of package.html because it's deprecated by JLS

    • -4
    • +4
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 7 more files in changeset.
Refine deprecation mechanism (#3285)

Refine deprecation mechanism

Fix https://github.com/gradle/gradle/issues/3228

    • -4
    • +1
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 35 more files in changeset.
Deprecate --no-rebuild (#3077) (#3121)

https://github.com/gradle/gradle/issues/3077

This option was introduced in very early version of Gradle when up-to-date

checking was still rather expensive, which is no longer the case.

This PR now deprecates it.

    • -0
    • +4
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 8 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

    • -12
    • +12
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 119 more files in changeset.
Upgrade Apache Commons Collections to v3.2.2

Version 3.2.1 has a CVSS 10.0 vulnerability. That's the worst kind of

vulnerability that exists. By merely existing on the classpath, this

library causes the Java serialization parser for the entire JVM process

to go from being a state machine to a turing machine. A turing machine

with an exec() function!

https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8103

https://commons.apache.org/proper/commons-collections/security-reports.html

http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/

    • -1
    • +1
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 54 more files in changeset.
revert accidently changes on integTests

+review REVIEW-5251

    • -8
    • +8
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 7 more files in changeset.
some cleanup on buildcomparison integtests - seperate integtest for nested archives - introduce buildcomparison report fixture

+review REVIEW-5251

    • -8
    • +8
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 57 more files in changeset.
Changed some int tests to use DefaultTestExecutionResult rather than JUnitTestExecutionResult, to use whatever the default mechanism for verifying test results happens to be.

    • -4
    • +4
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 24 more files in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

    • -3
    • +0
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 1213 more files in changeset.
Add test directory provider to construction of these sample rules.

Missed these guys the first time around, not sure how.

    • -1
    • +1
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 15 more files in changeset.
REVIEW-1033: rename DefaultTestExecutionResult to JUnitXmlTestExecutionResult

    • -4
    • +4
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 29 more files in changeset.
Some renaming and cleanup around the test/temp directory used in tests.

    • -1
    • +1
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 308 more files in changeset.
Don't have the GradleDistribution be responsible for providing the working space for a test.

    • -10
    • +7
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 109 more files in changeset.
Rename TestFileContext to TestWorkDirProvider, and don't make TestFile implement it.

    • -7
    • +8
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 63 more files in changeset.
REVIEW-867: Rename test fixture JUnitTestExecutionResult -> DefaultTestExecutionResult.

    • -4
    • +4
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 27 more files in changeset.
Moved code related to GradleExecuter and GradleDistribution into org.gradle.integtests.fixtures.executer - Affects many, many files, but mostly just imports - Certain files (eg RuleHelper) are not in the correct spot, but were moved to avoid cycles

    • -2
    • +2
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 170 more files in changeset.
adapted test to changed (but apparently correct) behavior after changing default for CompileOptions.useAnt to false

    • -1
    • +2
    ./SamplesJavaMultiProjectIntegrationTest.groovy
Refactoring and restructruization. Moved the samples integ tests into a spearate package for better visibility and runability. Moved test fixture code into the integ test internal subproject.

    • -0
    • +223
    ./SamplesJavaMultiProjectIntegrationTest.groovy
  1. … 65 more files in changeset.