first
This commit is contained in:
51
imagepickerl/build.gradle
Normal file
51
imagepickerl/build.gradle
Normal file
@@ -0,0 +1,51 @@
|
||||
apply plugin: 'com.android.library'
|
||||
//apply plugin: 'com.github.dcendents.android-maven'
|
||||
|
||||
android {
|
||||
// final sdk = rootProject.ext.sdk
|
||||
//
|
||||
// compileSdkVersion sdk.compileSdk
|
||||
compileSdkVersion 33
|
||||
defaultConfig {
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 30
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
|
||||
resourcePrefix "ef_"
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar) {
|
||||
from android.sourceSets.main.java.srcDirs
|
||||
archiveClassifier.set('sources') // Gradle 7.x 之后使用这种方式
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||
|
||||
implementation "com.github.bumptech.glide:glide:4.9.0"
|
||||
|
||||
implementation "androidx.recyclerview:recyclerview:1.0.0"
|
||||
implementation "androidx.appcompat:appcompat:1.0.2"
|
||||
|
||||
testImplementation 'junit:junit:4.12'
|
||||
}
|
||||
Reference in New Issue
Block a user