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

View file

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

View file

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