Skip to content

Instantly share code, notes, and snippets.

@abhiguru
Created January 28, 2016 17:41
Show Gist options
  • Save abhiguru/9581f18bc934893f0321 to your computer and use it in GitHub Desktop.
Save abhiguru/9581f18bc934893f0321 to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.example.aguru.myapplication7"
minSdkVersion 19
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/maven/org.bytedeco.javacpp-presets/opencv/pom.xml'
exclude 'META-INF/maven/org.bytedeco.javacpp-presets/opencv/pom.properties'
exclude 'META-INF/maven/org.bytedeco.javacpp-presets/ffmpeg/pom.xml'
exclude 'META-INF/maven/org.bytedeco.javacpp-presets/ffmpeg/pom.properties'
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:+'
compile 'com.android.support:leanback-v17:+'
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.android.support:support-v4:23.1.1'
compile 'org.apache.commons:commons-lang3:3.0'
compile 'com.google.code.gson:gson:2.5'
compile group: 'org.bytedeco', name: 'javacv', version: '1.0'
compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.0.0-1.0', classifier: 'android-arm'
compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: '2.7.1-1.0', classifier: 'android-arm'
compile project(':library')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment