Skip to content

Commit

Permalink
Merge pull request #36 from jarnedemeulemeester/develop
Browse files Browse the repository at this point in the history
Version 0.2.1
  • Loading branch information
jarnedemeulemeester authored Sep 23, 2021
2 parents ac54e40 + 44f7d6f commit b711180
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
12 changes: 6 additions & 6 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -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 {
Expand Down
7 changes: 6 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
*;
}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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()
Expand Down

0 comments on commit b711180

Please sign in to comment.