apply plugin: 'com.android.library'
|
apply plugin: 'kotlin-android'
|
//apply plugin: 'kotlin-android-extensions'
|
|
android {
|
namespace 'com.loper7.date_time_picker'
|
compileSdkVersion 29
|
buildToolsVersion "30.0.2"
|
|
defaultConfig {
|
minSdkVersion 21
|
targetSdkVersion 29
|
versionCode 1
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
consumerProguardFiles 'consumer-rules.pro'
|
}
|
|
buildTypes {
|
release {
|
minifyEnabled false
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
}
|
}
|
|
compileOptions {
|
sourceCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
}
|
|
}
|
|
dependencies {
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
compileOnly 'com.google.android.material:material:1.3.0'
|
|
}
|