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.

42 lines
1.6 KiB

7 years ago
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
group='com.github.jiangdongguo'
7 years ago
android {
compileSdkVersion rootProject.ext.versionCompiler
7 years ago
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.versionTarget
versionCode 2
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(dir: new File(buildDir, 'libs'), include: '*.jar')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
7 years ago
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation 'junit:junit:4.12'
implementation "com.android.support:appcompat-v7:${supportLibVersion}"
implementation "com.android.support:support-annotations:${supportLibVersion}"
// when changing compile to implementation
// AS will report exception of com.serenegiant.widget.IAspectRatioView
api("com.serenegiant:common:${commonLibVersion}") {
7 years ago
exclude module: 'support-v4'
}
}