|
|
@ -84,7 +84,6 @@ ext.pomConfig = { |
|
|
|
distribution POM_LICENSE_DISTRIBUTION |
|
|
|
distribution POM_LICENSE_DISTRIBUTION |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// from http://hub.jmonkeyengine.org/introduction/team/ |
|
|
|
|
|
|
|
developers { |
|
|
|
developers { |
|
|
|
developer { |
|
|
|
developer { |
|
|
|
name 'jMonkeyEngine Team' |
|
|
|
name 'jMonkeyEngine Team' |
|
|
@ -111,7 +110,7 @@ uploadArchives.dependsOn(writeFullPom) |
|
|
|
artifacts { |
|
|
|
artifacts { |
|
|
|
archives jar |
|
|
|
archives jar |
|
|
|
archives sourcesJar |
|
|
|
archives sourcesJar |
|
|
|
if(buildJavaDoc == "true"){ |
|
|
|
if (buildJavaDoc == "true") { |
|
|
|
archives javadocJar |
|
|
|
archives javadocJar |
|
|
|
} |
|
|
|
} |
|
|
|
archives writeFullPom.outputs.files[0] |
|
|
|
archives writeFullPom.outputs.files[0] |
|
|
@ -131,12 +130,3 @@ uploadArchives { |
|
|
|
pom.project pomConfig |
|
|
|
pom.project pomConfig |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
task createFolders(description: 'Creates the source folders if they do not exist.') doLast { |
|
|
|
|
|
|
|
// sourceSets*.allSource*.srcDirs*.each { File srcDir -> |
|
|
|
|
|
|
|
// if (!srcDir.isDirectory()) { |
|
|
|
|
|
|
|
// println "Creating source folder: ${srcDir}" |
|
|
|
|
|
|
|
// srcDir.mkdirs() |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|