Now generates pom
This commit is contained in:
@@ -11,6 +11,7 @@ allprojects {
|
||||
subprojects {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'maven'
|
||||
|
||||
sourceCompatibility = 1.6
|
||||
targetCompatibility = 1.6
|
||||
|
||||
@@ -1,9 +1,24 @@
|
||||
group = "org.springsource.loaded"
|
||||
groupId = "org.springsource.loaded"
|
||||
artifactId = "springloaded-core"
|
||||
version = '1.1.5.BUILD-SNAPSHOT'
|
||||
jar.baseName = 'springloaded'
|
||||
|
||||
task writeNewPom << {
|
||||
pom {
|
||||
project {
|
||||
inceptionYear '2013'
|
||||
licenses {
|
||||
license {
|
||||
name 'The Apache Software License, Version 2.0'
|
||||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
||||
distribution 'repo'
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
}
|
||||
}
|
||||
}.writeTo("$buildDir/pom.xml");
|
||||
}
|
||||
|
||||
compileJava {
|
||||
options.debug = true
|
||||
}
|
||||
@@ -19,10 +34,10 @@ task wrapper(type: Wrapper) {
|
||||
dependencies {
|
||||
tools 'com.googlecode.jarjar:jarjar:1.3'
|
||||
|
||||
compile 'asm:asm:3.2'
|
||||
compile 'asm:asm-tree:3.2'
|
||||
testCompileOnly 'asm:asm:3.2'
|
||||
testCompileOnly 'asm:asm-tree:3.2'
|
||||
|
||||
testCompile 'junit:junit:4.11'
|
||||
testCompileOnly 'junit:junit:4.11'
|
||||
|
||||
testCompileOnly files("../testdata-groovy/groovy-1.8.2.jar")
|
||||
testCompileOnly project(':testdata')
|
||||
|
||||
Reference in New Issue
Block a user