mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Sets the duplicate strategy to exclude in all zip tasks (#85)
This commit is contained in:
committed by
Peter Johnson
parent
30fbfe46e6
commit
0f9f7309e3
@@ -25,6 +25,7 @@ jar {
|
||||
description = 'Generates NetworkTables jar, with the JNI shared libraries embedded'
|
||||
baseName = 'ntcore'
|
||||
classifier = "$buildPlatform"
|
||||
duplicatesStrategy = 'exclude'
|
||||
|
||||
dependsOn { classes }
|
||||
model {
|
||||
@@ -52,6 +53,8 @@ task networktablesJavaSource(type: Jar, dependsOn: classes) {
|
||||
group = 'WPILib'
|
||||
baseName = 'ntcore'
|
||||
classifier = "sources"
|
||||
duplicatesStrategy = 'exclude'
|
||||
|
||||
from sourceSets.main.allJava
|
||||
}
|
||||
|
||||
@@ -60,6 +63,8 @@ task networktablesJavadoc(type: Jar, dependsOn: javadoc) {
|
||||
group = 'WPILib'
|
||||
baseName = 'ntcore'
|
||||
classifier = "javadoc"
|
||||
duplicatesStrategy = 'exclude'
|
||||
|
||||
from javadoc.destinationDir
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user