Remove ability to build all combined artifacts (#1867)

This commit is contained in:
Thad House
2019-09-04 13:06:46 -07:00
committed by Peter Johnson
parent 516cbef2c4
commit 5ffe15d5ff
2 changed files with 0 additions and 36 deletions

View File

@@ -111,33 +111,6 @@ ext.createComponentZipTasks = { components, names, base, type, project, func ->
return taskList
}
ext.createAllCombined = { list, name, base, type, project ->
def outputsFolder = file("$project.buildDir/outputs")
def task = project.tasks.create(base + "-all", type) {
description = "Creates component archive for all classifiers"
destinationDir = outputsFolder
classifier = "all"
baseName = base
duplicatesStrategy = 'exclude'
list.each {
if (it.name.endsWith('debug')) return
from project.zipTree(it.archivePath)
dependsOn it
}
}
project.build.dependsOn task
project.artifacts {
task
}
return task
}
ext.includeStandardZipFormat = { task, value ->
value.each { binary ->
if (binary.buildable) {

View File

@@ -88,11 +88,6 @@ model {
}
})
def allJniTask
if (!project.hasProperty('jenkinsBuild')) {
allJniTask = createAllCombined(jniTaskList, "${nativeName}JNI", jniBaseName, Jar, project)
}
publications {
cpp(MavenPublication) {
taskList.each {
@@ -110,10 +105,6 @@ model {
artifact it
}
if (!project.hasProperty('jenkinsBuild')) {
artifact allJniTask
}
artifactId = "${baseArtifactId}-jni"
groupId artifactGroupId
version wpilibVersioning.version.get()