2020-05-12 15:58:31 -04:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.3"
|
|
|
|
|
|
|
|
defaultConfig {
|
2020-05-15 13:42:40 -04:00
|
|
|
applicationId "es.eoinrul.ecwt"
|
2020-05-12 15:58:31 -04:00
|
|
|
minSdkVersion 23
|
|
|
|
targetSdkVersion 29
|
2022-01-23 10:25:34 -05:00
|
|
|
versionCode 4
|
|
|
|
versionName "4.0"
|
2020-05-12 15:58:31 -04:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2020-06-13 12:04:16 -04:00
|
|
|
minifyEnabled true
|
2021-07-11 06:34:37 -04:00
|
|
|
shrinkResources true
|
2020-05-12 15:58:31 -04:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// To inline the bytecode built with JVM target 1.8 into
|
|
|
|
// bytecode that is being built with JVM target 1.6. (e.g. navArgs)
|
|
|
|
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
|
|
|
implementation 'androidx.core:core-ktx:1.0.2'
|
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.0.0'
|
|
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.0.0'
|
2020-05-13 15:04:18 -04:00
|
|
|
implementation 'androidx.preference:preference:1.1.0-rc01'
|
2020-05-14 16:41:01 -04:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
2020-05-12 15:58:31 -04:00
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
|
}
|