Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Fixes Java artifact clasifiers when using custom suffix (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse authored and PeterJohnson committed Jan 5, 2017
1 parent ac56b0a commit 3e2631f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion java/java.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 3e2631f

Please sign in to comment.