36 lines
890 B
Groovy
36 lines
890 B
Groovy
|
|
apply plugin: 'com.android.library'
|
|||
|
|
|
|||
|
|
android {
|
|||
|
|
compileSdkVersion 29
|
|||
|
|
buildToolsVersion "29.0.3"
|
|||
|
|
|
|||
|
|
|
|||
|
|
defaultConfig {
|
|||
|
|
minSdkVersion 15
|
|||
|
|
targetSdkVersion 29
|
|||
|
|
|
|||
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
buildTypes {
|
|||
|
|
release {
|
|||
|
|
minifyEnabled false
|
|||
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
dependencies {
|
|||
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|||
|
|
|
|||
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|||
|
|
testImplementation 'junit:junit:4.12'
|
|||
|
|
androidTestImplementation 'androidx.test:runner:1.2.0'
|
|||
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|||
|
|
|
|||
|
|
// 引入注解中RouterBean对象(java项目才有javax.lang包)
|
|||
|
|
implementation project(':arouter_annotation')
|
|||
|
|
}
|