1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Latest gradle syntax updates.

This commit is contained in:
Luke Taylor
2010-03-28 23:54:41 +01:00
parent 2b9beffd08
commit d334f6fa09
13 changed files with 26 additions and 30 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
apply id: 'groovy'
apply plugin: 'groovy'
repositories {
mavenRepo name:'localRepo', urls: "file://" + System.properties['user.home'] + "/.m2/repository"
@@ -36,7 +36,7 @@ import com.icl.saxon.TransformerFactoryImpl;
* which it operates.
*/
class DocbookPlugin implements Plugin<Project> {
public void use(Project project) {
public void apply(Project project) {
// Add the plugin tasks to the project
Task docbookHtml = project.tasks.add('docbookHtml', DocbookHtml.class);
docbookHtml.setDescription('Generates chunked docbook html output');