34 lines
1.0 KiB
Groovy
34 lines
1.0 KiB
Groovy
apply plugin: 'com.android.library'
|
|
//添加这两行
|
|
//apply plugin: 'com.github.dcendents.android-maven'
|
|
//apply plugin: 'com.jfrog.bintray'
|
|
|
|
android {
|
|
compileSdkVersion 34
|
|
namespace 'com.lqr.adapter'
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 34
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
// androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
// exclude group: 'com.android.support', module: 'support-annotations'
|
|
// })
|
|
// implementation libs.appcompat // appcompat-v7 替换为 androidx.appcompat
|
|
implementation libs.recyclerview // recyclerview-v7 替换为 androidx.recyclerview
|
|
}
|