2021-12-04 19:55:26 +01:00
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
}
2020-10-08 22:20:20 +02:00
android {
2022-09-14 20:33:08 +02:00
compileSdkVersion 33
2020-12-20 20:21:27 +01:00
buildToolsVersion "30.0.3"
2020-10-08 22:20:20 +02:00
defaultConfig {
applicationId "org.mosad.teapod"
minSdkVersion 23
2022-08-27 13:56:15 +02:00
targetSdkVersion 32
2023-01-25 19:51:38 +01:00
versionCode 100990 //01.00.000
versionName "1.1.0-beta1"
2020-10-08 22:20:20 +02:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2020-10-11 23:16:47 +02:00
resValue "string" , "build_time" , buildTime ( )
2020-10-11 15:19:42 +02:00
setProperty ( "archivesBaseName" , "teapod-$versionName" )
2020-10-08 22:20:20 +02:00
}
2020-11-25 22:35:55 +01:00
buildFeatures {
viewBinding true
}
2020-10-08 22:20:20 +02:00
buildTypes {
release {
2020-10-20 20:22:50 +02:00
minifyEnabled true
shrinkResources true
2020-10-08 22:20:20 +02:00
proguardFiles getDefaultProguardFile ( 'proguard-android-optimize.txt' ) , 'proguard-rules.pro'
}
}
2021-08-15 00:39:17 +02:00
2020-10-08 22:20:20 +02:00
compileOptions {
sourceCompatibility JavaVersion . VERSION_1_8
targetCompatibility JavaVersion . VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
2022-05-20 15:07:07 +02:00
kotlin . sourceSets . all {
languageSettings . optIn ( "kotlin.RequiresOptIn" )
}
2020-10-08 22:20:20 +02:00
}
2022-05-18 20:58:02 +02:00
namespace 'org.mosad.teapod'
2020-10-08 22:20:20 +02:00
}
dependencies {
implementation fileTree ( dir: "libs" , include: [ "*.jar" ] )
2021-09-05 13:43:27 +02:00
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
2022-08-19 22:54:38 +02:00
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
2023-03-01 17:24:02 +01:00
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0'
2020-10-11 14:25:47 +02:00
2022-09-14 20:33:08 +02:00
implementation 'androidx.core:core-ktx:1.9.0'
2022-08-19 22:54:38 +02:00
implementation 'androidx.core:core-splashscreen:1.0.0'
2023-03-01 17:17:23 +01:00
implementation 'androidx.appcompat:appcompat:1.6.1'
2022-06-06 13:53:49 +02:00
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
2022-11-05 11:57:35 +01:00
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3'
implementation 'androidx.navigation:navigation-ui-ktx:2.5.3'
2023-03-01 17:17:23 +01:00
implementation 'androidx.security:security-crypto:1.1.0-alpha05'
2020-10-13 21:27:05 +02:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2022-08-19 22:54:38 +02:00
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
2020-10-11 13:18:20 +02:00
2023-03-01 17:17:23 +01:00
implementation 'com.google.android.material:material:1.8.0'
2022-04-02 19:28:19 +02:00
implementation "com.google.android.exoplayer:exoplayer-core:$exo_version"
implementation "com.google.android.exoplayer:exoplayer-hls:$exo_version"
implementation "com.google.android.exoplayer:exoplayer-dash:$exo_version"
implementation "com.google.android.exoplayer:exoplayer-ui:$exo_version"
implementation "com.google.android.exoplayer:extension-mediasession:$exo_version"
2020-10-11 13:18:20 +02:00
2022-09-14 21:31:27 +02:00
implementation 'com.facebook.shimmer:shimmer:0.5.0'
2023-03-01 17:24:02 +01:00
implementation 'com.github.bumptech.glide:glide:4.15.0'
2020-10-12 22:43:42 +02:00
implementation 'jp.wasabeef:glide-transformations:4.3.0'
2020-10-11 14:25:47 +02:00
2022-03-04 20:29:37 +01:00
implementation "io.ktor:ktor-client-core:$ktor_version"
implementation "io.ktor:ktor-client-android:$ktor_version"
2022-08-19 18:15:37 +02:00
implementation "io.ktor:ktor-client-content-negotiation:$ktor_version"
implementation "io.ktor:ktor-serialization-kotlinx-json:$ktor_version"
2022-03-04 20:29:37 +01:00
2021-05-09 20:31:51 +02:00
testImplementation 'junit:junit:4.13.2'
2023-01-25 19:51:38 +01:00
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
2020-10-08 22:20:20 +02:00
2020-10-11 23:16:47 +02:00
}
static def buildTime ( ) {
return new Date ( ) . format ( "yyyy-MM-dd" , TimeZone . getTimeZone ( "UTC" ) )
2021-07-09 18:54:44 +02:00
}