42 lines
1.2 KiB
Groovy
42 lines
1.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
|
|
|
|
defaultConfig {
|
|
minSdkVersion 23
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
// Security
|
|
def security_version = "1.0.0-beta01"
|
|
implementation "androidx.security:security-crypto:$security_version"
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
// Dagger
|
|
implementation "com.google.dagger:dagger:$rootProject.ext.dagger"
|
|
kapt "com.google.dagger:dagger-compiler:$rootProject.ext.dagger"
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test:runner:1.2.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
}
|