38 lines
1.3 KiB
Groovy
38 lines
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.1.0-beta01'
|
|
implementation 'com.google.android.material:material:1.1.0-alpha07'
|
|
implementation 'androidx.preference:preference:1.1.0-beta01'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
// Used for the list preference classes
|
|
implementation 'com.afollestad.material-dialogs:core:3.0.0-alpha1'
|
|
implementation 'com.afollestad.material-dialogs:input:3.0.0-alpha1'
|
|
implementation 'com.afollestad.material-dialogs:color:3.0.0-alpha1'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
}
|