mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-10-26 16:45:26 +00:00
Migrate to AGP9
This commit is contained in:
1 parent
a74b2d96b9
commit
b28957ebf3
3 files changed
+4
-23
No files matched your search
@@ -3,7 +3,6 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.android.app)
|
alias(libs.plugins.android.app)
|
||||||
alias(libs.plugins.kotlin.android)
|
|
||||||
alias(libs.plugins.kotlin.ksp)
|
alias(libs.plugins.kotlin.ksp)
|
||||||
alias(libs.plugins.kotlin.parcelize)
|
alias(libs.plugins.kotlin.parcelize)
|
||||||
alias(libs.plugins.kotlin.serialization)
|
alias(libs.plugins.kotlin.serialization)
|
||||||
@@ -53,7 +52,6 @@ android {
|
|||||||
getByName("release") {
|
getByName("release") {
|
||||||
isMinifyEnabled = true
|
isMinifyEnabled = true
|
||||||
isShrinkResources = true
|
isShrinkResources = true
|
||||||
aaptOptions.cruncherEnabled = false
|
|
||||||
|
|
||||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||||
signingConfig = releaseSigningConfig
|
signingConfig = releaseSigningConfig
|
||||||
@@ -61,7 +59,6 @@ android {
|
|||||||
getByName("debug") {
|
getByName("debug") {
|
||||||
applicationIdSuffix = ".debug"
|
applicationIdSuffix = ".debug"
|
||||||
isDebuggable = true
|
isDebuggable = true
|
||||||
aaptOptions.cruncherEnabled = false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-19
@@ -1,22 +1,7 @@
|
|||||||
# Project-wide Gradle settings.
|
# Gradle
|
||||||
#
|
org.gradle.jvmargs=-Xmx2048m
|
||||||
# IDE (e.g. Android Studio) users:
|
|
||||||
# Gradle settings configured through the IDE *will override*
|
# Allow switching between flavors of the Jellyfin SDK. Possible values are:
|
||||||
# any settings specified in this file.
|
|
||||||
#
|
|
||||||
# For more details on how to configure your build environment visit
|
|
||||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
||||||
#
|
|
||||||
# Specifies the JVM arguments used for the daemon process.
|
|
||||||
# The setting is particularly useful for tweaking memory settings.
|
|
||||||
org.gradle.jvmargs=-Xmx2G -XX:MaxMetaspaceSize=512m
|
|
||||||
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
||||||
# Android operating system, and which are packaged with your app"s APK
|
|
||||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
||||||
android.useAndroidX=true
|
|
||||||
# Kotlin code style for this project: "official" or "obsolete":
|
|
||||||
kotlin.code.style=official
|
|
||||||
# Allow using snapshot releases of Jellyfin SDK. Possible values are:
|
|
||||||
# - "default"
|
# - "default"
|
||||||
# - "local" (local Maven repository)
|
# - "local" (local Maven repository)
|
||||||
# - "snapshot" (SDK master)
|
# - "snapshot" (SDK master)
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ androidx-test-espresso = "3.7.0"
|
|||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
android-app = { id = "com.android.application", version.ref = "android-plugin" }
|
android-app = { id = "com.android.application", version.ref = "android-plugin" }
|
||||||
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|
||||||
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
|
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
|
||||||
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
||||||
kotlin-ksp = { id = "com.google.devtools.ksp", version.ref = "kotlin-ksp" }
|
kotlin-ksp = { id = "com.google.devtools.ksp", version.ref = "kotlin-ksp" }
|
||||||
|
|||||||
Reference in new issue
Block a user