mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Remove ability to build all combined artifacts (#1867)
This commit is contained in:
committed by
Peter Johnson
parent
516cbef2c4
commit
5ffe15d5ff
@@ -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) {
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user