commit
b71118080c
3 changed files with 13 additions and 8 deletions
|
@ -16,8 +16,8 @@ android {
|
|||
applicationId = "dev.jdtech.jellyfin"
|
||||
minSdk = 24
|
||||
targetSdk = 31
|
||||
versionCode = 4
|
||||
versionName = "0.2.0"
|
||||
versionCode = 5
|
||||
versionName = "0.2.1"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
@ -26,15 +26,15 @@ android {
|
|||
getByName("debug") {
|
||||
applicationIdSuffix = ".debug"
|
||||
}
|
||||
create("staging") {
|
||||
initWith(getByName("release"))
|
||||
applicationIdSuffix = ".staging"
|
||||
}
|
||||
getByName("release") {
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||
}
|
||||
create("staging") {
|
||||
initWith(getByName("release"))
|
||||
applicationIdSuffix = ".staging"
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
|
7
app/proguard-rules.pro
vendored
7
app/proguard-rules.pro
vendored
|
@ -20,4 +20,9 @@
|
|||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
-keepnames class dev.jdtech.jellyfin.models.PlayerItem
|
||||
-keepnames class dev.jdtech.jellyfin.models.PlayerItem
|
||||
|
||||
# Keep all mpvlib methods because proguard removes some which makes the app crash
|
||||
-keep class is.xyz.libmpv.MPVLib {
|
||||
*;
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
val kotlinVersion = "1.5.30"
|
||||
val kotlinVersion = "1.5.31"
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
|
|
Loading…
Reference in a new issue