Files
fuzhu/arouter_api/build.gradle

45 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

2026-01-05 15:39:47 +08:00
apply plugin: 'com.android.library'
android {
namespace 'com.xiangxue.arouter_api'
compileSdk 34
compileSdkVersion 34
buildToolsVersion "30.0.2"
defaultConfig {
minSdk 26
minSdkVersion 26
targetSdk 34
targetSdkVersion 34
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
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')
}