Skip to content

Commit

Permalink
Fixed build file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sten Roger Sandvik committed Jan 10, 2014
1 parent 15501f7 commit 78159e4
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ task sourcesJar( type: Jar ) {
}

task groovydocJar( type: Jar ) {
classifier 'groovydoc'
classifier 'javadoc'
from groovydoc
}

Expand All @@ -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' )
}
}
}
}
Expand Down

0 comments on commit 78159e4

Please sign in to comment.