iterate over platforms
shadowJar is now 41MB (macosx only)
@@ -34,9 +34,11 @@ dependencies {
exclude module: "openblas-platform"
exclude module: "nd4j-native"
}
- compile 'org.bytedeco.javacpp-presets:openblas:0.3.0-1.4.2:macosx-x86_64'
- compile 'org.nd4j:nd4j-native:1.0.0-beta2:'
- compile 'org.nd4j:nd4j-native:1.0.0-beta2:macosx-x86_64'
+
+ ["macosx-x86_64", ""].each { platform ->
+ compile "org.bytedeco.javacpp-presets:openblas:0.3.0-1.4.2:$platform"
+ compile "org.nd4j:nd4j-native:1.0.0-beta2:$platform"
+ }
compile 'org.nd4j:nd4j-api:1.0.0-beta2'
compile 'org.nd4j:nd4j-native-api:1.0.0-beta2'
compile 'org.nd4j:nd4j-context:1.0.0-beta2'
