12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- apply plugin: 'com.android.library'
- apply plugin: 'com.jakewharton.butterknife'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'kotlin-kapt'
- android {
- compileSdkVersion build_versions.target_sdk
- defaultConfig {
- minSdkVersion build_versions.min_sdk
- targetSdkVersion build_versions.target_sdk
- versionCode 1
- versionName "1.0"
- javaCompileOptions {
- annotationProcessorOptions {
- arguments = [AROUTER_MODULE_NAME: project.getName()]
- }
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- buildTypes {
- debug {
- debuggable true
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- release {
- debuggable false
- zipAlignEnabled true
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- buildFeatures {
- viewBinding = true
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation project(':uchat_common')
- annotationProcessor deps.arouter_compiler
- kapt deps.arouter_compiler
- annotationProcessor deps.butterknife_annotationProcessor
- kapt deps.butterknife_annotationProcessor
- }
|