2018-10-24 18:22:05 +02:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
2018-11-15 23:51:48 +01:00
signingConfigs {
}
2019-09-22 20:51:36 +02:00
compileSdkVersion 29
2018-10-24 18:22:05 +02:00
defaultConfig {
applicationId "org.mosad.seil0.projectlaogai"
2019-06-24 22:41:45 +02:00
minSdkVersion 23
2019-09-22 20:51:36 +02:00
targetSdkVersion 29
2020-08-25 11:55:55 +02:00
versionCode 6000 // 0006000
versionName "0.6.0"
2018-10-26 00:50:37 +02:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2019-03-19 19:51:58 +01:00
resValue "string" , "build_time" , buildTime ( )
2019-03-27 13:29:36 +01:00
setProperty ( "archivesBaseName" , "projectlaogai-$versionName" )
2018-10-24 18:22:05 +02:00
}
2019-03-19 19:51:58 +01:00
2018-10-24 18:22:05 +02:00
buildTypes {
release {
2020-08-22 20:20:23 +02:00
minifyEnabled true
shrinkResources true
2018-10-24 18:22:05 +02:00
proguardFiles getDefaultProguardFile ( 'proguard-android.txt' ) , 'proguard-rules.pro'
2019-08-17 18:59:28 +02:00
}
2018-10-24 18:22:05 +02:00
}
2019-06-25 17:10:57 +02:00
2018-11-02 15:18:52 +01:00
compileOptions {
2019-06-25 17:10:57 +02:00
sourceCompatibility JavaVersion . VERSION_1_8
targetCompatibility JavaVersion . VERSION_1_8
2018-11-02 15:18:52 +01:00
}
2019-08-23 19:19:35 +02:00
sourceSets {
main {
res . srcDirs =
[
'src/main/res/layouts/activities' ,
'src/main/res/layouts/dialogs' ,
'src/main/res/layouts/fragments' ,
'src/main/res/layouts' ,
'src/main/res'
]
}
}
2018-10-24 18:22:05 +02:00
}
dependencies {
2018-11-02 15:18:52 +01:00
implementation fileTree ( include: [ '*.jar' ] , dir: 'libs' )
2018-11-01 01:06:53 +01:00
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
2020-08-10 14:31:17 +02:00
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.8'
implementation 'androidx.core:core:1.3.1'
implementation 'androidx.appcompat:appcompat:1.2.0'
2018-10-26 00:50:37 +02:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2020-08-22 20:35:44 +02:00
implementation 'androidx.constraintlayout:constraintlayout:2.0.0'
2020-07-15 16:02:06 +02:00
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
2020-08-12 11:00:22 +02:00
implementation 'androidx.security:security-crypto:1.1.0-alpha02'
2020-08-10 14:31:17 +02:00
implementation 'com.google.android.material:material:1.2.0'
2019-10-17 19:19:47 +02:00
implementation 'com.google.code.gson:gson:2.8.6'
2019-03-19 19:51:58 +01:00
implementation 'com.afollestad:aesthetic:1.0.0-beta05'
2020-02-25 11:12:22 +01:00
implementation 'com.afollestad.material-dialogs:core:3.3.0'
implementation 'com.afollestad.material-dialogs:color:3.3.0'
2020-05-14 18:27:26 +02:00
implementation 'com.afollestad.material-dialogs:bottomsheets:3.3.0'
2019-06-25 17:10:57 +02:00
implementation 'de.psdev.licensesdialog:licensesdialog:2.1.0'
2019-03-19 19:51:58 +01:00
2020-08-23 14:27:41 +02:00
implementation 'org.apache.commons:commons-lang3:3.11'
2020-08-13 21:01:21 +02:00
implementation 'org.jsoup:jsoup:1.13.1'
2019-01-03 01:45:28 +01:00
2020-02-25 15:25:45 +01:00
testImplementation 'junit:junit:4.13'
2020-08-10 15:11:36 +02:00
androidTestImplementation 'androidx.test:core:1.2.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
2018-10-24 18:22:05 +02:00
}
2019-03-19 19:51:58 +01:00
static def buildTime ( ) {
return new Date ( ) . format ( "yyyy-MM-dd" , TimeZone . getTimeZone ( "UTC" ) )
}