62 lines
1.5 KiB
Groovy
62 lines
1.5 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'maven-publish'
|
|
apply plugin: 'de.undercouch.download'
|
|
|
|
android {
|
|
namespace 'io.agora.callapi'
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 33
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug{
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
implementation 'com.google.android.material:material:1.5.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
|
|
api 'com.google.code.gson:gson:2.9.0'
|
|
|
|
// rtc
|
|
api "io.agora.rtc:full-sdk:4.5.0"
|
|
// rtm
|
|
api 'io.agora:agora-rtm-lite:2.2.2'
|
|
// im
|
|
api 'io.hyphenate:hyphenate-chat:4.3.0'
|
|
} |