2020-05-12 15:58:31 -04:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
android {
|
2022-08-28 14:23:10 -04:00
|
|
|
compileSdkVersion 30
|
2020-05-12 15:58:31 -04:00
|
|
|
buildToolsVersion "29.0.3"
|
|
|
|
|
|
|
|
defaultConfig {
|
2020-05-15 13:42:40 -04:00
|
|
|
applicationId "es.eoinrul.ecwt"
|
2023-05-06 07:48:39 -04:00
|
|
|
minSdkVersion 21
|
2023-05-06 08:21:50 -04:00
|
|
|
targetSdkVersion 31
|
2023-05-06 08:03:48 -04:00
|
|
|
versionCode 45
|
|
|
|
versionName "4.5"
|
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'
|
|
|
|
}
|