You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.5 KiB
37 lines
1.5 KiB
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.versionCompiler
|
|
defaultConfig {
|
|
applicationId "com.jiangdg.usbcamera"
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.versionTarget
|
|
versionCode 1
|
|
versionName rootProject.ext.versionNameString
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
// solving com.android.tools.r8.CompilationFailedException: Compilation failed to complete
|
|
compileOptions {
|
|
sourceCompatibility rootProject.ext.javaSourceCompatibility
|
|
targetCompatibility rootProject.ext.javaTargetCompatibility
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
implementation "com.android.support:appcompat-v7:${supportLibVersion}"
|
|
implementation "com.android.support:support-annotations:${supportLibVersion}"
|
|
testImplementation 'junit:junit:4.12'
|
|
implementation 'com.jakewharton:butterknife:8.8.1'
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
|
implementation project(':libusbcamera')
|
|
}
|
|
|