escapepod/app/build.gradle

109 lines
3.5 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 33
// buildToolsVersion is optional because the plugin uses a recommended version by default
defaultConfig {
applicationId 'org.y20k.escapepod'
minSdkVersion 25
targetSdkVersion 33
versionCode 41
versionName '1.1.2'
resConfigs 'ca', 'de', 'en', 'es', 'eu', 'fi', 'fr', 'fr-rCA', 'he', 'hr', 'it', 'nb-rNO', 'nl', 'pl', 'pt', 'ru', 'tr', 'zh-rCN'
kapt {
arguments {
arg("room.schemaLocation", "$projectDir/schemas")
}
}
}
kotlinOptions {
jvmTarget = '17'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
lintOptions {
disable 'MissingTranslation'
}
buildTypes {
release {
// Enables code shrinking, obfuscation, and optimization for only
// your project's release build type.
minifyEnabled true
// Enables resource shrinking, which is performed by the
// Android Gradle plugin.
shrinkResources true
// Includes the default ProGuard rules files that are packaged with
// the Android Gradle plugin. To learn more, go to the section about
// R8 configuration files.
proguardFiles getDefaultProguardFile(
'proguard-android-optimize.txt'),
'proguard-rules.pro'
}
debug {
// Comment out the below lines if you do not need to test resource shrinking
// minifyEnabled true
// shrinkResources true
// proguardFiles getDefaultProguardFile(
// 'proguard-android-optimize.txt'),
// 'proguard-rules.pro'
}
}
namespace 'org.y20k.escapepod'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
def coroutinesVersion = "1.6.4"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
implementation 'com.google.android.material:material:1.9.0'
implementation "androidx.appcompat:appcompat:1.6.1"
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation "androidx.core:core-ktx:1.10.1"
implementation "androidx.activity:activity-ktx:1.7.2"
implementation "androidx.palette:palette-ktx:1.0.0"
implementation "androidx.preference:preference-ktx:1.2.0"
implementation "androidx.media:media:1.6.0"
def mediaVersion = "1.1.0"
implementation "androidx.media3:media3-exoplayer:$mediaVersion"
implementation "androidx.media3:media3-session:$mediaVersion"
def navigationVersion = "2.6.0"
implementation "androidx.navigation:navigation-fragment-ktx:$navigationVersion"
implementation "androidx.navigation:navigation-ui-ktx:$navigationVersion"
def roomVersion = "2.5.2"
implementation "androidx.room:room-runtime:$roomVersion"
implementation "androidx.room:room-ktx:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
implementation 'androidx.work:work-runtime-ktx:2.8.1'
implementation "com.google.code.gson:gson:2.10"
implementation 'com.android.volley:volley:1.2.1'
}