Target API level 33 (#123)

* Target API level 33

compileSdk 32 -> 33
buildToolsVersion 32.0.0 -> 33.0.0
targetSdk 32 -> 33

* Add monochrome icon

* Upgrade agp to 7.3.0-rc01

agp 7.2.2 -> 7.3.0-rc01

* Move namespace to build.gradle
This commit is contained in:
Jarne Demeulemeester 2022-09-11 12:49:46 +02:00 committed by GitHub
parent 0e3b42d8d1
commit 7c995f14bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 13 deletions

View file

@ -9,13 +9,14 @@ plugins {
}
android {
compileSdk = 32
buildToolsVersion = "32.0.0"
namespace = "dev.jdtech.jellyfin"
compileSdk = 33
buildToolsVersion = "33.0.0"
defaultConfig {
applicationId = "dev.jdtech.jellyfin"
minSdk = 26
targetSdk = 32
targetSdk = 33
versionCode = 12
versionName = "0.6.1"
}
@ -27,7 +28,10 @@ android {
getByName("release") {
isMinifyEnabled = 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"))

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.jdtech.jellyfin">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
@ -17,7 +16,6 @@
android:label="@string/app_name"
android:banner="@mipmap/ic_banner"
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Findroid">

View file

@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View file

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View file

@ -8,7 +8,7 @@ buildscript {
}
}
dependencies {
classpath("com.android.tools.build:gradle:7.2.2")
classpath("com.android.tools.build:gradle:7.3.0-rc01")
val kotlinVersion = "1.7.10"
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")