You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.0 KiB
37 lines
1.0 KiB
|
|
allprojects {
|
|
|
|
group = 'net.yacy.libbuild'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
apply plugin: 'java'
|
|
}
|
|
|
|
version = "1.0"
|
|
description = "Builds subprojects for yacycore and installs jars -> task: installExtLibJars"
|
|
|
|
dependencies {
|
|
project("GitComInf")
|
|
project("J7Zip-modified")
|
|
}
|
|
|
|
//--- build aliases : define a synonym here if you want a shortcut to run multiple targets
|
|
// workaround to run storeGitComInf after a build without adding arbitray dependencies
|
|
// this makes sure gitbuildnumber.properties is availabel and up-to-date
|
|
def buildAliases = [
|
|
'installExtLibJars' : ["J7Zip-modified:installJarToRoot","GitComInf:installJarToRoot"]
|
|
]
|
|
def expandedTaskList = []
|
|
gradle.startParameter.taskNames.each {
|
|
expandedTaskList << (buildAliases[it] ? buildAliases[it] : it)
|
|
}
|
|
gradle.startParameter.taskNames = expandedTaskList.flatten()
|
|
|
|
task installExtLibJars ( group: 'build') {
|
|
// we use above startParameter to install GitComInf.jar, as the shadow (uber) jar is used (not avail in normal subproject properties)
|
|
} |