明天你会感谢今天奋力拼搏的你。
ヾ(o◕∀◕)ノヾ
apply plugin: 'maven'
group = 'com.company.root'
// artifactId is taken by default, from folder name
version = '0.0.1-SNAPSHOT'
task writeNewPom << {
pom {
project {
inceptionYear '2014'
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
}
}.writeTo("pom.xml")
}
String temp = " <dependency>\n" +
" <groupId>{groupId}</groupId>\n" +
" <artifactId>{artifactId}</artifactId>\n" +
" <version>{version}</version>\n" +
" </dependency>\n";
全部评论