60 lines
1.4 KiB
Groovy
60 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
|
|
android {
|
|
compileSdkVersion 31
|
|
defaultConfig {
|
|
targetSdkVersion 31
|
|
minSdk 21
|
|
ndk{
|
|
abiFilters "armeabi-v7a"
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
checkReleaseBuilds false
|
|
}
|
|
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
/* externalNativeBuild{
|
|
ndkBuild{
|
|
path file("src/main/jni/rtmp/Android.mk")
|
|
}
|
|
}*/
|
|
/* sourceSets {
|
|
main {
|
|
jniLibs.srcDirs 'src/main/jniLibs'
|
|
jni.srcDirs = []
|
|
}
|
|
}*/
|
|
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'
|
|
|
|
def camerax_version = "1.1.0-beta01"
|
|
implementation "androidx.camera:camera-core:${camerax_version}"
|
|
implementation "androidx.camera:camera-camera2:${camerax_version}"
|
|
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
|
|
implementation "androidx.camera:camera-video:${camerax_version}"
|
|
|
|
implementation "androidx.camera:camera-view:${camerax_version}"
|
|
implementation "androidx.camera:camera-extensions:${camerax_version}"
|
|
}
|