Created
August 27, 2019 08:37
-
-
Save yptheangel/6af7ed1febd21b5b4d2339eb8ce985b5 to your computer and use it in GitHub Desktop.
Gradle for DL4J TinyYOLO inference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 27 | |
buildToolsVersion "28.0.3" | |
defaultConfig { | |
applicationId "com.yptheangel.dl4jandroid.yolo_objdetection" | |
minSdkVersion 24 | |
targetSdkVersion 24 | |
versionCode 1 | |
versionName "1.0" | |
testInstrumentationRunner "android.support.activity_main.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | |
} | |
} | |
packagingOptions { | |
exclude 'META-INF/DEPENDENCIES' | |
exclude 'META-INF/DEPENDENCIES.txt' | |
exclude 'META-INF/LICENSE' | |
exclude 'META-INF/LICENSE.txt' | |
exclude 'META-INF/license.txt' | |
exclude 'META-INF/NOTICE' | |
exclude 'META-INF/NOTICE.txt' | |
exclude 'META-INF/notice.txt' | |
exclude 'META-INF/INDEX.LIST' | |
} | |
compileOptions { | |
sourceCompatibility = '1.7' | |
targetCompatibility = '1.7' | |
} | |
} | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
implementation 'com.android.support:appcompat-v7:27.1.0' | |
testImplementation 'junit:junit:4.12' | |
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { | |
exclude group: 'com.android.support', module: 'support-annotations'}) | |
implementation group: 'org.nd4j', name: 'nd4j-native', version: '1.0.0-beta4' | |
implementation group: 'org.nd4j', name: 'nd4j-native', version: '1.0.0-beta4', classifier: "android-arm" | |
implementation group: 'org.nd4j', name: 'nd4j-native', version: '1.0.0-beta4', classifier: "android-arm64" | |
implementation group: 'org.nd4j', name: 'nd4j-native', version: '1.0.0-beta4', classifier: "android-x86" | |
implementation group: 'org.nd4j', name: 'nd4j-native', version: '1.0.0-beta4', classifier: "android-x86_64" | |
implementation group: 'org.deeplearning4j', name: 'deeplearning4j-core', version: '1.0.0-beta4' | |
implementation group: 'org.deeplearning4j', name: 'deeplearning4j-zoo', version: '1.0.0-beta4' | |
implementation group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5' | |
implementation group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5', classifier: "android-arm" | |
implementation group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5', classifier: "android-arm64" | |
implementation group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5', classifier: "android-x86" | |
implementation group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5', classifier: "android-x86_64" | |
implementation group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5' | |
implementation group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5', classifier: "android-arm" | |
implementation group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5', classifier: "android-arm64" | |
implementation group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5', classifier: "android-x86" | |
implementation group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5', classifier: "android-x86_64" | |
implementation group: 'org.bytedeco', name: 'javacv', version: '1.5' | |
implementation group: 'org.bytedeco', name: 'ffmpeg', version: '4.1.3-1.5', classifier: "android-arm64" | |
implementation group: 'org.bytedeco', name: 'ffmpeg', version: '4.1.3-1.5', classifier: 'android-arm' | |
implementation group: 'org.bytedeco', name: 'ffmpeg', version: '4.1.3-1.5', classifier: 'android-x86' | |
compileOnly 'org.projectlombok:lombok:1.16.16' | |
annotationProcessor 'org.projectlombok:lombok:1.16.16' | |
implementation 'com.google.code.findbugs:annotations:3.0.1', { | |
exclude module: 'jsr305' | |
exclude module: 'jcip-annotations' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment