mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fixes Java artifact clasifiers when using custom suffix (#44)
This commit is contained in:
committed by
Peter Johnson
parent
3c3236c5d5
commit
e9fcb5381a
@@ -29,7 +29,12 @@ dependencies {
|
||||
jar {
|
||||
description = 'Generates cscore jar, with the JNI shared libraries embedded'
|
||||
baseName = 'cscore'
|
||||
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