Merge pull request #36 from jarnedemeulemeester/develop

Version 0.2.1
This commit is contained in:
Jarne Demeulemeester 2021-09-23 10:02:30 +02:00 committed by GitHub
commit b71118080c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 8 deletions

View file

@ -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 {

View file

@ -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 {
*;
}

View file

@ -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()