From 78159e4965a197fb3e6aa861bd19bd10626ad6ff Mon Sep 17 00:00:00 2001 From: Sten Roger Sandvik Date: Fri, 10 Jan 2014 22:26:16 +0100 Subject: [PATCH] Fixed build file. --- build.gradle | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/build.gradle b/build.gradle index 2eede57..aeccd9b 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ task sourcesJar( type: Jar ) { } task groovydocJar( type: Jar ) { - classifier 'groovydoc' + classifier 'javadoc' from groovydoc } @@ -48,29 +48,6 @@ publishing { from components.java artifact sourcesJar artifact groovydocJar - - pom.withXml { - def root = asNode() - root.appendNode( 'name', 'Node Gralde Plugin' ) - root.appendNode( 'description', 'A gradle plugin for executing NodeJS scripts.' ) - root.appendNode( 'inceptionYear', '2013' ) - - def scm = root.appendNode( 'scm' ) - scm.appendNode( 'url', 'https://github.com/srs/gradle-node-plugin' ) - scm.appendNode( 'connection', 'scm:https://srs@github.com/srs/gradle-node-plugin.git' ) - scm.appendNode( 'developerConnection', 'scm:git://github.com/srs/gradle-node-plugin.git' ) - - def license = root.appendNode( 'licenses' ).appendNode( 'license' ) - license.appendNode( 'name', 'The Apache Software License, Version 2.0' ) - license.appendNode( 'url', 'http://www.apache.org/licenses/LICENSE-2.0.txt' ) - license.appendNode( 'distribution', 'repo' ) - - def developers = root.appendNode( 'developers' ) - def srs = developers.appendNode( 'developer' ) - srs.appendNode( 'id', 'srs' ) - srs.appendNode( 'name', 'Sten Roger Sandvik' ) - srs.appendNode( 'email', 'stenrs@gmail.com' ) - } } } }