123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- 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 "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- api 'androidx.appcompat:appcompat:1.1.0-rc01'
- api 'androidx.constraintlayout:constraintlayout:1.1.3'
- // Apache validator
- api 'commons-validator:commons-validator:1.6'
- }
|