12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- plugins {
- id 'com.android.library'
- }
- android {
- compileSdkVersion rootProject.ext.android["compileSdkVersion"]
- buildToolsVersion rootProject.ext.android["buildToolsVersion"]
- defaultConfig {
- minSdkVersion rootProject.ext.android["minSdkVersion"]
- targetSdkVersion rootProject.ext.android["targetSdkVersion"]
- versionCode rootProject.ext.android["versionCode"]
- versionName rootProject.ext.android["versionName"]
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
- }
- debug {
- jniDebuggable true
- debuggable true
- }
- yufabu {
- jniDebuggable true
- debuggable true
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation 'androidx.appcompat:appcompat:1.1.0'
- implementation 'com.google.android.material:material:1.1.0'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- // 添加base依赖
- implementation project(path: ':lib_base')
- }
|