Universal UVCCamera library,supporting recording, pushing, etc
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.

38 lines
1.5 KiB

7 years ago
apply plugin: 'com.android.application'
android {
compileSdkVersion rootProject.ext.versionCompiler
7 years ago
defaultConfig {
applicationId "com.jiangdg.usbcamera"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.versionTarget
7 years ago
versionCode 1
versionName rootProject.ext.versionNameString
7 years ago
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
}
7 years ago
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
7 years ago
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')
7 years ago
}