73 lines
2.3 KiB
Groovy
73 lines
2.3 KiB
Groovy
|
|
apply plugin: 'com.android.library'
|
||
|
|
apply plugin: 'kotlin-android'
|
||
|
|
apply plugin: 'kotlin-android-extensions'
|
||
|
|
apply plugin: 'kotlin-kapt'
|
||
|
|
android {
|
||
|
|
compileSdkVersion 30
|
||
|
|
buildToolsVersion "30.0.2"
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
// applicationId "com.yuyin.module_login"
|
||
|
|
minSdkVersion 22
|
||
|
|
targetSdkVersion 30
|
||
|
|
versionCode 12
|
||
|
|
versionName "1.2"
|
||
|
|
dataBinding {
|
||
|
|
//noinspection DataBindingWithoutKapt
|
||
|
|
enabled = true
|
||
|
|
}
|
||
|
|
javaCompileOptions {
|
||
|
|
annotationProcessorOptions {
|
||
|
|
arguments = [AROUTER_MODULE_NAME: project.getName()]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
multiDexEnabled true
|
||
|
|
ndk {
|
||
|
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
minifyEnabled false
|
||
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility JavaVersion.VERSION_11
|
||
|
|
targetCompatibility JavaVersion.VERSION_11
|
||
|
|
}
|
||
|
|
kotlinOptions {
|
||
|
|
jvmTarget = '11'
|
||
|
|
}
|
||
|
|
android {
|
||
|
|
sourceSets.main {
|
||
|
|
jniLibs.srcDir 'libs'
|
||
|
|
jni.srcDirs = []
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||
|
|
implementation 'androidx.core:core-ktx:1.3.2'
|
||
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
|
|
implementation 'com.google.android.material:material:1.2.1'
|
||
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||
|
|
implementation 'androidx.navigation:navigation-fragment:2.3.1'
|
||
|
|
implementation 'androidx.navigation:navigation-ui:2.3.1'
|
||
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
||
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.1'
|
||
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.3.1'
|
||
|
|
api 'com.alibaba:arouter-api:1.4.1'
|
||
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0'
|
||
|
|
implementation 'androidx.palette:palette:1.0.0'
|
||
|
|
kapt'com.alibaba:arouter-compiler:1.2.2'
|
||
|
|
api project(':tuicore')
|
||
|
|
api project(':tuiconversation')
|
||
|
|
api project(':tuichat')
|
||
|
|
api project(':lib_base')
|
||
|
|
api project(':SudMGPWrapper')
|
||
|
|
|
||
|
|
}
|