12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- apply plugin: 'com.android.library'
- // Kotlin
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- android {
- compileSdkVersion rootProject.ext.compileSdkVersion
- defaultConfig {
- targetSdkVersion rootProject.ext.targetSdkVersion
- versionName rootProject.ext.versionName
- versionCode rootProject.ext.versionCode
- minSdkVersion rootProject.ext.minSdkVersion
- }
- buildTypes {
- debug {
- manifestPlaceholders = [isDebug: true]
- }
- debugTest {
- manifestPlaceholders = [isDebug: true]
- }
- release {
- manifestPlaceholders = [isDebug: false]
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- releaseTest {
- manifestPlaceholders = [isDebug: false]
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- // kotlin
- api 'androidx.core:core-ktx:1.1.0'
- api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- api 'androidx.appcompat:appcompat:1.1.0'
- api 'androidx.constraintlayout:constraintlayout:1.1.3'
- // Apache validator
- api 'commons-validator:commons-validator:1.6'
- }
|