123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- plugins {
- id 'com.android.library'
- id 'org.jetbrains.kotlin.android'
- id 'kotlin-kapt'
- }
- android {
- compileSdk 31
- defaultConfig {
- minSdk 21
- targetSdk 27
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- kapt {
- arguments {
- arg("AROUTER_MODULE_NAME", project.getName())
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- viewBinding {
- enabled = true
- }
- }
- dependencies {
- implementation project(path: ':libBase')
- implementation project(path: ':BusinessRouter')
- kapt 'com.alibaba:arouter-compiler:1.5.1'
- }
|