project.ext.categoryDescriptions=[[:],[:]]// label and descriptions of the features
project.ext.categoryDescriptions=[[:],[:]]// label and descriptions of the features
noDescriptions=true
noDescriptions=true
}// categoryDescriptions = [["feature": "labelName","feature2": "label"],["feature": "featureDescription","feature2": "feature2Description"]] // label and descriptions of the features
// categoryDescriptions = [["feature": "labelName", "feature2": "label"], ["feature": "featureDescription", "feature2": "feature2Description"]] // label and descriptions of the features
}
try{
try{
targetRepositories=targetRepositories
targetRepositories=targetRepositories
...
@@ -116,52 +111,36 @@ try{
...
@@ -116,52 +111,36 @@ try{
try{
try{
buildProduct=buildProduct
buildProduct=buildProduct
}catch(MissingPropertyExceptione){
}catch(MissingPropertyExceptione){
project.ext.buildProduct=false
project.ext.buildProduct=false
}
}
// returns the name of a subproject listed in the settings.gradle file
defprojects(inti){
defprojects(inti){
returnsubprojects.name[i]
returnsubprojects.name[i]
}
}
// returns the name of a subproject listed in the settings.gradle file
// returns the number of projects listed in the settings.gradle file
defnumberOfProjects(){
defnumberOfProjects(){
returnsubprojects.name.size()
returnsubprojects.name.size()
}
}
// returns the number of projects listed in the settings.gradle file
//
/* -- Return ParentId -- */
// This is the project of the parent Pom
// The Tycho Maven Build is triggered from this project's pom
defparentId(){
defparentId(){
returnparentID
returnparentID
}
}
/*
* This is the project of the parent Pom
* The Tycho Maven Build is triggered from
* this project's pom
*/
/* -- Return Group Id -- */
// This Group ID will be used in every sub project
warningReadMe<<"Do Not Remove any Jars/Libraries in this Folder!\nThis folder contains all of your dependencies defined in your gradle script.\n"
warningReadMe<<"Do Not Remove any Jars/Libraries in this Folder!\nThis folder contains all of your dependencies defined in your gradle script.\n"
warningReadMe<<"Removing or renaming any of these files will result in an Error in your .classpath file\n"
warningReadMe<<"Removing or renaming any of these files will result in an Error in your .classpath file\n"
warningReadMe<<"If any error concerning missing dependencies should occur please run 'gradle deleteFromClassPath setClassPath' in your workspace folder from your shell."
warningReadMe<<"If any error concerning missing dependencies should occur please run 'gradle deleteFromClassPath setClassPath' in your workspace folder from your shell."
}catch(Exceptione){
}catch(Exceptione){
printlnproject.name+" has no dependencies in '${dependencyFolder}' defined: Classpath will not be changed"
printlnproject.name+" has no dependencies in '${dependencyFolder}' defined: Classpath will not be changed"
}
}
}// if exclude projectAbfrage
}
}
}/// doLast
}
}// setClassPath
taskdeleteFromClassPath(){
taskdeleteFromClassPath(){
description="\tDeletes all your Dependencies located in your local lib folder from each project's classpath"
description="\tDeletes all your Dependencies located in your local lib folder from each project's classpath"
description="\tCopies dependencies into dependencyFolder of each subproject and executes a 'mvn install' of the parent pom.xml and auto-generates Tycho Poms"
description="\tCopies dependencies into dependencyFolder of each subproject and executes a 'mvn install' of the parent pom.xml and auto-generates Tycho Poms"