tempus/app/build.gradle

100 lines
2.9 KiB
Groovy
Raw Normal View History

2020-11-20 15:38:08 +01:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'
2020-11-20 15:38:08 +01:00
android {
2023-11-05 16:07:12 +01:00
compileSdk = 34
buildToolsVersion = '34.0.0'
2020-11-20 15:38:08 +01:00
defaultConfig {
minSdkVersion 24
targetSdkVersion 34
2020-11-20 15:38:08 +01:00
2024-01-29 12:18:34 +01:00
versionCode 24
2024-03-25 09:57:01 +01:00
versionName '3.8.1'
2023-04-07 21:59:02 +02:00
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
2021-09-04 15:21:36 +02:00
javaCompileOptions {
annotationProcessorOptions {
2023-04-08 12:24:41 +02:00
arguments += [
"room.schemaLocation": "$projectDir/schemas".toString(),
"room.incremental" : "true"
]
2021-09-04 15:21:36 +02:00
}
}
2020-11-20 15:38:08 +01:00
}
2023-11-05 16:07:12 +01:00
flavorDimensions += "default"
productFlavors {
tempo {
2023-11-05 16:07:12 +01:00
dimension = "default"
applicationId 'com.cappielloantonio.tempo'
}
notquitemy {
2023-11-05 16:07:12 +01:00
dimension = "default"
applicationId "com.cappielloantonio.notquitemy.tempo"
}
}
2020-11-20 15:38:08 +01:00
buildTypes {
release {
shrinkResources true
minifyEnabled true
debuggable false
2023-06-21 10:51:38 +02:00
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2020-11-20 15:38:08 +01:00
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
2020-11-20 15:38:08 +01:00
}
kotlinOptions {
jvmTarget = "1.8"
2023-04-30 19:40:11 +02:00
}
2020-11-20 15:38:08 +01:00
buildFeatures {
2021-08-01 16:25:45 +02:00
viewBinding true
2020-11-20 15:38:08 +01:00
}
2023-04-30 19:40:11 +02:00
2023-06-17 15:30:23 +02:00
namespace 'com.cappielloantonio.tempo'
2020-11-20 15:38:08 +01:00
}
dependencies {
2020-11-22 19:11:38 +01:00
// AndroidX
2022-08-25 15:11:03 +02:00
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
2023-04-07 21:59:02 +02:00
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
2023-08-11 16:20:02 +02:00
implementation 'androidx.preference:preference-ktx:1.2.1'
2024-02-17 11:34:43 +01:00
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7'
implementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
2023-11-05 16:07:12 +01:00
implementation 'androidx.recyclerview:recyclerview:1.3.2'
2023-11-29 19:22:25 +01:00
implementation 'androidx.room:room-runtime:2.6.1'
2023-05-06 16:43:21 +02:00
implementation 'androidx.core:core-splashscreen:1.0.1'
implementation "androidx.appcompat:appcompat:1.6.1"
2020-11-22 19:11:38 +01:00
// Android Material
implementation 'com.google.android.material:material:1.10.0'
2020-11-22 19:11:38 +01:00
// Glide
2023-08-25 08:50:52 +02:00
implementation 'com.github.bumptech.glide:glide:4.16.0'
implementation 'com.github.bumptech.glide:annotations:4.16.0'
2020-12-05 21:31:12 +01:00
2021-12-26 19:47:20 +01:00
// Media3
2024-03-16 12:57:57 +01:00
implementation 'androidx.media3:media3-session:1.3.0'
implementation 'androidx.media3:media3-common:1.3.0'
implementation 'androidx.media3:media3-exoplayer:1.3.0'
implementation 'androidx.media3:media3-ui:1.3.0'
tempoImplementation 'androidx.media3:media3-cast:1.3.0'
2022-08-25 15:11:03 +02:00
2023-08-25 08:50:52 +02:00
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
2023-11-29 19:22:25 +01:00
annotationProcessor 'androidx.room:room-compiler:2.6.1'
2021-07-24 12:28:06 +02:00
// Retrofit
2024-03-23 15:51:06 +01:00
implementation 'com.squareup.retrofit2:retrofit:2.10.0'
2023-12-31 15:35:15 +01:00
implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.12'
2024-03-23 15:51:06 +01:00
implementation 'com.squareup.retrofit2:converter-gson:2.10.0'
2020-11-20 15:38:08 +01:00
}