Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions combiner/allwpilib/combine.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,42 +92,6 @@ for (File it : allFiles) {

}

task beforePublish() {

}

groups.each { key, value->
value.each { key2, value2->
def allClassifiers = []
def isJar = false
value2.each {
if (it.get(1)) {
allClassifiers << it.get(2)
if (it.get(2).toString().endsWith('jar')) {
isJar = true
}
}
}
if (!allClassifiers.empty) {
def createdTask = project.tasks.create(key + key2 + 'all', isJar ? Jar : Zip) {
allClassifiers.each {
classifier = 'all'
baseName = key + key2
destinationDir = allOutput
duplicatesStrategy = 'exclude'

allClassifiers.each {
from project.zipTree(it)
}
}
}
beforePublish.dependsOn createdTask
value2 << new Tuple('all', false, createdTask)

}
}
}

publishing {
publications {
groups.each { key, value->
Expand Down
36 changes: 0 additions & 36 deletions combiner/thirdparty/combine.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,42 +107,6 @@ for (File it : allFiles) {

}

task beforePublish() {

}

groups.each { key, value->
value.each { key2, value2->
def allClassifiers = []
def isJar = false
value2.each {
if (it.get(1)) {
allClassifiers << it.get(2)
if (it.get(2).toString().endsWith('jar')) {
isJar = true
}
}
}
if (!allClassifiers.empty) {
def createdTask = project.tasks.create(key + key2 + 'all', isJar ? Jar : Zip) {
allClassifiers.each {
classifier = 'all'
baseName = key + key2
destinationDir = allOutput
duplicatesStrategy = 'exclude'

allClassifiers.each {
from project.zipTree(it)
}
}
}
beforePublish.dependsOn createdTask
value2 << new Tuple('all', false, createdTask)

}
}
}

publishing {
publications {
groups.each { key, value->
Expand Down