Gradle Release Notes

Version 1.0-milestone-2

  1. New and Noteworthy
  2. Migrating from 1.0-milestone-1
  3. Fixed Jira Issues

New and Noteworthy

Sonar support

There is a new sonar plugin, which allows you to analyse your project using Sonar from your Gradle build.

Improvements to copy and archive tasks

Added CopySpec.includeEmptyDirs property, to control whether empty directories should be included in the copy output. The default behaviour is to include empty directories.

The CopySpec.into(dest) methods now accept a closure as the destination path, to allow for lazy evaluation of the destination path.

DSL Improvements

You can now specify the source files for a task through the DSL. Previously this was only possible by using the @SkipWhenEmpty annotation on a custom task class. The source files of a task are treated as input files. In addition, the task is skipped if the set of source files is declared and empty.

Other changes

Updated dependencies

Build scripts are now executed using Groovy 1.7.10

Migrating from 1.0-milestone-1

Gradle 1.0-milestone-2 Breaking Changes

Fixed Jira Issues

Jirra Issues
Type Key Summary Assignee Reporter Priority Status Resolved Created Uploaded Due
GRADLE-1465 Isolate internally used (Maven) libraries from script class path Peter Niederwieser Peter Niederwieser Resolved Fixed 06/Apr/11 04/Jan/13
GRADLE-1464 OSGi plugin improvements (https://github.com/gradle/gradle/pull/23) Peter Niederwieser Peter Niederwieser Resolved Fixed 06/Apr/11 04/Jan/13
GRADLE-1461 serverUrl property of sonar task is ignored Peter Niederwieser Hans Dockter Resolved Fixed 31/Mar/11 04/Jan/13
GRADLE-1459 running 'gradle cleanidea' (all lower case) does nothing Adam Murdoch Adam Murdoch Resolved Fixed 28/Mar/11 04/Jan/13
GRADLE-1455 The tooling api should provide some information about the tasks of a project Adam Murdoch Adam Murdoch Resolved Fixed 23/Mar/11 04/Jan/13
GRADLE-1449 Tooling API should honor source folder customizations Szczepan Faber Szczepan Faber Resolved Fixed 20/Mar/11 04/Jan/13
GRADLE-1446 Tooling API should honor eclipse beforeConfigured / whenConfigured hooks Szczepan Faber Szczepan Faber Resolved Fixed 17/Mar/11 04/Jan/13
GRADLE-1440 eclipse plugin creates incorrect project dependencies when projectName overridden Szczepan Faber Szczepan Faber Resolved Fixed 11/Mar/11 04/Jan/13
GRADLE-1438 Update application plugin to 'gradle install' of multiple projects Adam Murdoch Ben McCann Resolved Fixed 10/Mar/11 04/Jan/13
GRADLE-1437 Create moduleName property for ideaModule task Szczepan Faber Szczepan Faber Resolved Fixed 10/Mar/11 04/Jan/13
GRADLE-1436 test report does not sum decimal parts correctly in environments with rare Locales Szczepan Faber Szczepan Faber Resolved Fixed 09/Mar/11 04/Jan/13
GRADLE-1435 typo in user manual Unassigned Leo Mekenkamp Resolved Fixed 09/Mar/11 04/Jan/13
GRADLE-1434 typo in user manual Unassigned Leo Mekenkamp Resolved Fixed 09/Mar/11 04/Jan/13
GRADLE-1433 typo in user manual Unassigned Leo Mekenkamp Resolved Fixed 09/Mar/11 04/Jan/13
GRADLE-1432 Test process leaks heap space for each test executed Adam Murdoch Adam Murdoch Resolved Fixed 08/Mar/11 04/Jan/13
GRADLE-1431 Gradle leaves gradle_ivy_cache_clientModule* directories in the user's home directory Adam Murdoch Adam Murdoch Resolved Fixed 08/Mar/11 04/Jan/13
GRADLE-1430 Gradle leaves jna*.dll temporary files in user's home directory Adam Murdoch Adam Murdoch Resolved Fixed 08/Mar/11 04/Jan/13
GRADLE-1429 Gradle Maven Plugin doesn't honour user settings.xml when installing to local repository Szczepan Faber Elisha Ezeugoh Resolved Fixed 08/Mar/11 04/Jan/13
GRADLE-1428 upgrade code-quality to CodeNarc 0.13 Unassigned Hamlet D'Arcy Resolved Fixed 08/Mar/11 04/Jan/13
GRADLE-1427 Application plugin install task will remove any other files/directories under installDirPath Adam Murdoch Gary Stewart Resolved Fixed 07/Mar/11 04/Jan/13
GRADLE-1408 IDEA plugin generates incorrect module dependencies when non-default module name is used Szczepan Faber Adam Murdoch Resolved Fixed 01/Mar/11 04/Jan/13
GRADLE-1407 Eclipse plugin does not handle case where multiple projects in a multi-project build have the same name Szczepan Faber Adam Murdoch Resolved Fixed 01/Mar/11 04/Jan/13
GRADLE-1380 Tooling API should provide project dependencies of the project Szczepan Faber Adam Murdoch Resolved Fixed 07/Feb/11 04/Jan/13
GRADLE-1379 Tooling API should provide the source directories of the project Szczepan Faber Adam Murdoch Resolved Fixed 07/Feb/11 04/Jan/13
GRADLE-1339 Tooling API should consider eclipse project name customisations and deduplication Szczepan Faber Adam Murdoch Resolved Fixed 23/Jan/11 04/Jan/13
GRADLE-1335 Resolve dependencies onyl if it is necessary Adam Murdoch Mathias Kalb Resolved Fixed 23/Jan/11 04/Jan/13
GRADLE-1296 Daemon Does Not Handle System Properties Adam Murdoch Robert Fischer Resolved Fixed 08/Jan/11 04/Jan/13
GRADLE-1295 Copy task does not copy empty directories Peter Niederwieser Hendy Irawan Resolved Fixed 08/Jan/11 04/Jan/13
GRADLE-1290 Gradle Test stopped respecting @Ignore annotations on JUnit3 tests between 0.9-rc-3 and 0.9.1 Adam Murdoch Kelly Robinson Resolved Fixed 05/Jan/11 04/Jan/13
GRADLE-1249 issues with --daemon and current directory (user.dir system property) Szczepan Faber Lance Hankins Resolved Fixed 09/Dec/10 04/Jan/13
GRADLE-1153 Gradle can't handle empty directories for a zip task Peter Niederwieser Gregory Boissinot Resolved Fixed 19/Sep/10 04/Jan/13
GRADLE-1127 IDEA plugin generates invalid .ipr file when multiple projects have the same name Szczepan Faber Adam Murdoch Resolved Fixed 19/Aug/10 04/Jan/13
GRADLE-890 Confusing message when throwing exception within taskGraph.whenReady closure. Adam Murdoch Hans Dockter Resolved Fixed 06/Apr/10 04/Jan/13
GRADLE-888 Gradle Integration with Sonar Peter Niederwieser Pratik Parikh Resolved Fixed 03/Apr/10 04/Jan/13