AndroidRtmpApp/libWSLive/build.gradle

60 lines
1.4 KiB
Groovy
Raw Permalink Normal View History

2022-03-11 08:43:32 +08:00
apply plugin: 'com.android.library'
android {
compileSdkVersion 31
defaultConfig {
targetSdkVersion 31
minSdk 21
2022-03-11 08:43:32 +08:00
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
}
2022-03-11 08:43:32 +08:00
/* 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}"
2022-03-11 08:43:32 +08:00
}