Compatible Android 15

This commit is contained in:
Super12138 2024-09-07 20:43:26 +08:00
parent a54441f679
commit 243da01168
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ val verCode by lazy { "git rev-list --count HEAD".exec().toInt() }
android { android {
namespace = "cn.super12138.todo" namespace = "cn.super12138.todo"
compileSdk = 34 compileSdk = 35
// 获取 Release 签名 // 获取 Release 签名
val releaseSigning = if (project.hasProperty("releaseStoreFile")) { val releaseSigning = if (project.hasProperty("releaseStoreFile")) {
@ -30,7 +30,7 @@ android {
defaultConfig { defaultConfig {
applicationId = "cn.super12138.todo" applicationId = "cn.super12138.todo"
minSdk = 24 minSdk = 24
targetSdk = 34 targetSdk = 35
versionCode = verCode versionCode = verCode
versionName = "${baseVersionName}-${commitHash}" versionName = "${baseVersionName}-${commitHash}"

View file

@ -14,7 +14,7 @@
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.ToDo" android:theme="@style/Theme.ToDo"
tools:targetApi="34"> tools:targetApi="35">
<activity <activity
android:name=".views.main.MainActivity" android:name=".views.main.MainActivity"