commit
b71118080c
3 changed files with 13 additions and 8 deletions
|
@ -16,8 +16,8 @@ android {
|
||||||
applicationId = "dev.jdtech.jellyfin"
|
applicationId = "dev.jdtech.jellyfin"
|
||||||
minSdk = 24
|
minSdk = 24
|
||||||
targetSdk = 31
|
targetSdk = 31
|
||||||
versionCode = 4
|
versionCode = 5
|
||||||
versionName = "0.2.0"
|
versionName = "0.2.1"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
@ -26,15 +26,15 @@ android {
|
||||||
getByName("debug") {
|
getByName("debug") {
|
||||||
applicationIdSuffix = ".debug"
|
applicationIdSuffix = ".debug"
|
||||||
}
|
}
|
||||||
create("staging") {
|
|
||||||
initWith(getByName("release"))
|
|
||||||
applicationIdSuffix = ".staging"
|
|
||||||
}
|
|
||||||
getByName("release") {
|
getByName("release") {
|
||||||
isMinifyEnabled = true
|
isMinifyEnabled = true
|
||||||
isShrinkResources = true
|
isShrinkResources = true
|
||||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||||
}
|
}
|
||||||
|
create("staging") {
|
||||||
|
initWith(getByName("release"))
|
||||||
|
applicationIdSuffix = ".staging"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
|
|
5
app/proguard-rules.pro
vendored
5
app/proguard-rules.pro
vendored
|
@ -21,3 +21,8 @@
|
||||||
#-renamesourcefileattribute SourceFile
|
#-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.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
buildscript {
|
buildscript {
|
||||||
val kotlinVersion = "1.5.30"
|
val kotlinVersion = "1.5.31"
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
Loading…
Reference in a new issue