Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added support for generating groovy projects to the performanceTest project.

    • -0
    • +13
    /performanceTest/src/templates/Production.groovy
    • -0
    • +12
    /performanceTest/src/templates/Test.groovy
Some sample bits-and-pieces.

GRADLE-571 - Replaced srcDirs property on Compile, GroovyCompile, ScalaCompile with src property, which can accept any of the types handled by Project.files() - Wire up the include/exclude patterns on SourceSet so they are honoured by the various compile tasks. Added int test for this. - Use a transitive configuration when resolving the groovy classpath to pass to the Groovy tasks, to handle case where dependency is declared on 'groovy' is used instead of 'groovy-all'. - Added SourceSet.allSource property.

  1. … 23 more files in changeset.
GRADLE-571 - Introduced IsolatedAntBuilder which provides a builder style API for executing Ant tasks, identical to AntBuilder. - Simplified assembly of ClassLoaders in BootstrapMain, so that only a single ClassLoader is built containing logging + everything else. Simplifies life for embedders too. - No Gradle classes or libraries are visible to the ant+groovy versions used to execute the isolated build. - Cache and reuse ClassLoader for a given ant+groovy classpath.

- Allow @SkipWhenEmpty to be attached to @InputDirectory property

GRADLE-571 - Added overloaded FileCollection.addToAntBuilder() which allows the caller to specify the target ant type: ResourceCollection, FileSet or MatchingTask.

  1. … 7 more files in changeset.
- Cleaned up some of the dependencies in the build scripts - Extracted intTestImage task out of the integTest tasks - Reuse same gradle home for all int tests in all projects - Include :gradle-ui:integTest in developer/ci/release/upload builds

    • -3
    • +11
    /subprojects/gradle-core/build.gradle
    • -15
    • +6
    /subprojects/gradle-ui/build.gradle
    • -8
    • +3
    /subprojects/gradle-wrapper/build.gradle
Got the implementation title and version back in the jars.

Removed obsolete imports.

Fixed broken unit test.

Added cookbook link to sidebar. Removed Browse Source link from sidebar.

Changed Javadoc of Project. The examples how delegation work do not use the soon obsolete createTask method any longer.

GRADLE-620 Task eclipse doesn't put file references of dependencies into project's classpath. War does not pick up file dependencies from configurations. - Factored out Eclipse integration test from SampleJavaMulti

    • -0
    • +3
    /src/samples/eclipse/api/build.gradle
    • -0
    • +17
    /src/samples/eclipse/build.gradle
    • -0
    • +1
    /src/samples/eclipse/settings.gradle
    • -0
    • +10
    /src/samples/eclipse/webservice/build.gradle
    • binary
    /src/samples/eclipse/webservice/lib/compile-1.0.jar
  1. … 8 more files in changeset.
Potential fix for broken int test on teamcity

Switch this off temporarily.

Switch this off temporarily.

GRADLE-637 Artifacts from transitive self-resolving dependencies from another project are included even when transitive = false

GRADLE-638 gradle shell script not marked as executable. - Set the gradle command of the unzipped wrapper dist to executable using the File.setExecutable method. If this was successful a message is printed out to the console. If not successful nothing is printed out (e.g. on windows). - Turned wrapper from Java into Groovy project, as tests are written in Groovy. The tests had been ignored since our move to the multi-project build.

    • -1
    • +12
    /subprojects/gradle-wrapper/build.gradle
Fixed ui int test

Fix int test on windows

Fix sample

put the trace in the right spot this time

- Updated the tasks section of all plugin chapters, and filled in the missing ones. - Added task dependency diagrams for most plugin chapters

    • -1
    • +53
    /src/docs/userguide/codeQualityPlugin.xml
    • -4
    • +27
    /src/docs/userguide/groovyPlugin.xml
    • -0
    • +135
    /src/docs/userguide/images/codeQualityPluginTasks.graphml
    • binary
    /src/docs/userguide/images/codeQualityPluginTasks.png
    • -0
    • +226
    /src/docs/userguide/images/groovyPluginTasks.graphml
    • binary
    /src/docs/userguide/images/groovyPluginTasks.png
    • -79
    • +100
    /src/docs/userguide/images/javaPluginTasks.graphml
    • -0
    • +103
    /src/docs/userguide/images/jettyPluginTasks.graphml
    • binary
    /src/docs/userguide/images/jettyPluginTasks.png
    • -0
    • +226
    /src/docs/userguide/images/scalaPluginTasks.graphml
    • binary
    /src/docs/userguide/images/scalaPluginTasks.png
    • -0
    • +69
    /src/docs/userguide/images/warPluginTasks.graphml
  1. … 7 more files in changeset.
GRADLE-635, GRADLE-555, GRADLE-554 - Renamed compile task to compileJar for each source set - For each source set, add a compile task which dependsOn compile$Lang - Merged dists and libs into assemble task - Moved check task to Java plugin

    • -17
    • +3
    /src/samples/java/onlyif/build.gradle
  1. … 19 more files in changeset.
Try again with the trace

Added some trace to try to figure out what's breaking the int tests on teamcity.

GRADLE-635 - Updated userguide for changes to compile tasks.

    • -1
    • +26
    /src/docs/userguide/groovyPlugin.xml
    • -4
    • +28
    /src/docs/userguide/scalaPlugin.xml
GRADLE-635 - Merged GroovyCompile.groovySourceDirs into srcDirs, groovyIncludes into includes and groovyExcludes into excludes - Merged ScalaCompile.scalaSrcDirs into srcDirs, scalaIncludes into includes and scalExcludes into excludes

Added java->groovy->java->groovy and java->scala->java->scala dependency cycle to mix language samples.

Added int tests for customised layout samples