example use of shadow to exclude a dependency from the shadow jar
@@ -15,12 +15,14 @@ plugins {
id 'jacoco'
}
+apply plugin: 'com.github.johnrengelman.plugin-shadow'
+
archivesBaseName = "keanu"
dependencies {
compile 'org.apache.commons:commons-math3:3.6.1'
- compile 'org.nd4j:nd4j-native-platform:1.0.0-beta2'
+ shadow 'org.nd4j:nd4j-native-platform:1.0.0-beta2'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile 'com.google.guava:guava:20.0'
compile group: 'com.opencsv', name: 'opencsv', version: '4.2'
