Skip to content

Instantly share code, notes, and snippets.

@jarutis
Created December 3, 2016 17:53
Show Gist options
  • Save jarutis/e3f17bc56c542e71de6db9c66a29d32f to your computer and use it in GitHub Desktop.
Save jarutis/e3f17bc56c542e71de6db9c66a29d32f to your computer and use it in GitHub Desktop.
Build file for dl4j
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'java'
id 'scala'
}
repositories {
mavenLocal()
mavenCentral()
}
ext {
scalaVersion = '2.11'
scalaVersionFull = '2.11.8'
dl4jVersion = '0.7.1'
}
configurations {
all*.exclude group: 'org.bytedeco', module: 'javacpp-presets'
}
dependencies{
compile "org.datavec:datavec-api:${dl4jVersion}"
compile "org.deeplearning4j:deeplearning4j-core:${dl4jVersion}"
compile "org.nd4j:nd4j-native-platform:${dl4jVersion}"
compile "org.scala-lang:scala-library:${scalaVersionFull}"
compile "org.deeplearning4j:scalnet_${scalaVersion}:${dl4jVersion}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment