From 3e2631f49b0c2d9e41f4b77ff3e7d0dee6535bd4 Mon Sep 17 00:00:00 2001 From: Thad House Date: Thu, 5 Jan 2017 14:13:57 -0800 Subject: [PATCH] Fixes Java artifact clasifiers when using custom suffix (#183) --- java/java.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/java/java.gradle b/java/java.gradle index ac48af0..2ca3bfc 100644 --- a/java/java.gradle +++ b/java/java.gradle @@ -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 }