mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fixes Java artifact clasifiers when using custom suffix (#183)
This commit is contained in:
committed by
Peter Johnson
parent
ac56b0a33e
commit
3e2631f49b
@@ -24,7 +24,12 @@ sourceSets {
|
||||
jar {
|
||||
description = 'Generates NetworkTables jar, with the JNI shared libraries embedded'
|
||||
baseName = 'ntcore'
|
||||
classifier = "$buildPlatform"
|
||||
if (project.isArm && project.hasProperty('compilerPrefix')
|
||||
&& project.hasProperty('armSuffix')) {
|
||||
classifier = "${buildPlatform}${project.armSuffix}"
|
||||
} else {
|
||||
classifier = "${buildPlatform}"
|
||||
}
|
||||
duplicatesStrategy = 'exclude'
|
||||
|
||||
dependsOn { classes }
|
||||
|
||||
Reference in New Issue
Block a user