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
2019-06-24 22:41:45 +02:00
versionCode 14
2019-09-30 21:25:38 +02:00
versionName "0.5.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 {
2019-03-20 21:33:55 +01:00
minifyEnabled false
shrinkResources false
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"
2019-03-19 19:51:58 +01:00
implementation 'org.jetbrains.anko:anko-commons:0.10.8'
2019-09-07 21:06:41 +02:00
implementation 'androidx.appcompat:appcompat:1.1.0'
2018-10-26 00:50:37 +02:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2019-06-24 22:41:45 +02:00
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
2019-04-03 19:21:51 +02:00
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
2019-03-19 19:51:58 +01:00
implementation 'com.google.android.material:material:1.0.0'
2019-03-17 18:12:36 +01:00
implementation 'com.google.code.gson:gson:2.8.5'
2019-03-19 19:51:58 +01:00
implementation 'com.afollestad:aesthetic:1.0.0-beta05'
2019-09-07 21:06:41 +02:00
implementation 'com.afollestad.material-dialogs:core:3.1.1'
implementation 'com.afollestad.material-dialogs:color:3.1.1'
2019-06-25 17:10:57 +02:00
implementation 'de.psdev.licensesdialog:licensesdialog:2.1.0'
2019-03-19 19:51:58 +01:00
2019-08-17 18:59:28 +02:00
implementation 'org.apache.commons:commons-lang3:3.9'
2019-01-03 01:45:28 +01:00
2018-10-24 18:22:05 +02:00
testImplementation 'junit:junit:4.12'
2019-06-02 19:09:36 +02:00
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
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" ) )
}