2024-03-03 21:12:52 +01:00
plugins {
id 'com.android.application'
id 'kotlin-android'
}
2020-09-16 18:38:13 +02:00
2024-03-03 21:12:52 +01:00
kotlin {
jvmToolchain 11
sourceSets . configureEach {
languageSettings . optIn ( "kotlin.RequiresOptIn" )
2018-11-15 23:51:48 +01:00
}
2024-03-03 21:12:52 +01:00
}
android {
2020-08-30 18:13:15 +02:00
2024-03-03 21:12:52 +01:00
compileSdk 34
buildToolsVersion = '34.0.0'
2020-09-16 18:38:13 +02:00
2018-10-24 18:22:05 +02:00
defaultConfig {
applicationId "org.mosad.seil0.projectlaogai"
2019-06-24 22:41:45 +02:00
minSdkVersion 23
2022-12-22 17:26:07 +01:00
targetSdkVersion 33
2024-03-03 21:12:52 +01:00
versionCode 6100 // 00.06.100
versionName "0.6.1"
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
2020-12-06 18:00:28 +01:00
buildFeatures {
viewBinding true
}
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
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'
]
}
}
2020-08-30 18:13:15 +02:00
testOptions . unitTests . all {
useJUnitPlatform ( )
testLogging {
events 'passed' , 'skipped' , 'failed' , 'standardOut' , 'standardError'
}
}
2024-03-03 21:12:52 +01:00
namespace 'org.mosad.seil0.projectlaogai'
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"
2024-03-03 21:12:52 +01:00
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7'
implementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
implementation 'androidx.appcompat:appcompat:1.6.1'
2018-10-26 00:50:37 +02:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2022-12-22 17:26:07 +01:00
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
2020-07-15 16:02:06 +02:00
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
2024-03-03 21:12:52 +01:00
implementation 'androidx.security:security-crypto:1.1.0-alpha06'
implementation "androidx.work:work-runtime-ktx:2.9.0"
implementation 'com.google.android.material:material:1.11.0'
2022-12-22 17:26:07 +01:00
implementation 'com.google.code.gson:gson:2.10'
// 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'
2022-12-22 17:26:07 +01:00
implementation 'org.jsoup:jsoup:1.15.3'
2019-01-03 01:45:28 +01:00
2022-12-22 17:26:07 +01:00
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
androidTestImplementation 'androidx.test:core:1.5.0'
2024-03-03 21:12:52 +01:00
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
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" ) )
}