apply plugin: 'com.android.library'
|
|
|
android {
|
compileSdk 34
|
namespace 'com.example.pickerviewlibrary'
|
defaultConfig {
|
minSdkVersion 22
|
targetSdkVersion 28
|
versionCode 1
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
release {
|
minifyEnabled false
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
}
|
}
|
|
}
|
|
dependencies {
|
// implementation fileTree(include: ['*.jar'], dir: 'libs')
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
implementation 'com.android.support:support-annotations:28.0.0'
|
testImplementation 'junit:junit:4.12'
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
implementation 'com.android.support:cardview-v7:28.0.0'
|
compileOnly files('libs/gson-2.7.jar')
|
compileOnly 'com.google.code.gson:gson:2.8.2'
|
compileOnly "androidx.room:room-ktx:2.3.0"
|
compileOnly "androidx.room:room-runtime:2.3.0"
|
runtimeOnly("androidx.room:room-common:2.3.0")
|
annotationProcessor "androidx.room:room-compiler:2.3.0"
|
|
}
|