Build with Android 15 preview SDK (#749)
* Build with Android 15 preview SDK * Fix CI * Don't set application as test-only
This commit is contained in:
1 parent
7515a049c2
commit
7d2e0f7f7e
7 files changed
+11
-18
No files matched your search
@@ -56,6 +56,9 @@ jobs:
|
||||
key: ${{ runner.os }}-cmake-${{ hashFiles('gradle/libs.versions.toml', 'app/build.gradle.kts', 'app/src/main/cpp/CMakeLists.txt') }}
|
||||
restore-keys: ${{ runner.os }}-cmake-
|
||||
|
||||
- name: Install Build Tools
|
||||
run: echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "build-tools;35.0.0-rc1"
|
||||
|
||||
- name: Build OSS
|
||||
run: ./gradlew assembleDefaultOssRelease
|
||||
|
||||
|
||||
@@ -38,6 +38,9 @@ jobs:
|
||||
key: ${{ runner.os }}-cmake-${{ hashFiles('gradle/libs.versions.toml', 'app/build.gradle.kts', 'app/src/main/cpp/CMakeLists.txt') }}
|
||||
restore-keys: ${{ runner.os }}-cmake-
|
||||
|
||||
- name: Install Build Tools
|
||||
run: echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "build-tools;35.0.0-rc1"
|
||||
|
||||
- name: Gradle Build
|
||||
uses: gradle/gradle-build-action@v3
|
||||
with:
|
||||
|
||||
@@ -19,8 +19,8 @@ plugins {
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk = 34
|
||||
buildToolsVersion = "34.0.0"
|
||||
compileSdkPreview = "VanillaIceCream"
|
||||
buildToolsVersion = "35.0.0-rc1"
|
||||
ndkVersion = "26.2.11394342"
|
||||
|
||||
splits {
|
||||
|
||||
@@ -8,13 +8,3 @@ plugins {
|
||||
alias(libs.plugins.aboutlibrariesPlugin) apply false
|
||||
alias(libs.plugins.composeCompilerReportGenerator) apply false
|
||||
}
|
||||
|
||||
tasks.register("Delete", Delete::class) {
|
||||
delete(rootProject.layout.buildDirectory)
|
||||
}
|
||||
|
||||
buildscript {
|
||||
dependencies {
|
||||
classpath(libs.r8)
|
||||
}
|
||||
}
|
||||
+2
-1
@@ -22,4 +22,5 @@ org.gradle.caching=true
|
||||
android.useAndroidX=true
|
||||
android.enableAppCompileTimeRClass=true
|
||||
android.experimental.enableNewResourceShrinker.preciseShrinking=true
|
||||
android.experimental.lint.version=8.4.0-alpha01
|
||||
android.injected.testOnly=false
|
||||
android.suppressUnsupportedCompileSdk=VanillaIceCream
|
||||
@@ -1,7 +1,6 @@
|
||||
[versions]
|
||||
aboutlibraries = "10.10.0"
|
||||
agp = "8.2.2"
|
||||
android-tools-r8 = "8.3.31"
|
||||
agp = "8.4.0-alpha10"
|
||||
androidx-activity = "1.8.2"
|
||||
androidx-appcompat = "1.6.1"
|
||||
androidx-biometric = "1.2.0-alpha05"
|
||||
@@ -104,8 +103,6 @@ okio-jvm = { module = "com.squareup.okio:okio-jvm", version.ref = "okio" }
|
||||
|
||||
photoview = "com.github.chrisbanes:PhotoView:2.3.0"
|
||||
|
||||
r8 = { module = "com.android.tools:r8", version.ref = "android-tools-r8" }
|
||||
|
||||
reorderable = "sh.calvin.reorderable:reorderable:1.3.1"
|
||||
|
||||
serialization-cbor = { module = "org.jetbrains.kotlinx:kotlinx-serialization-cbor", version.ref = "kotlinx-serialization" }
|
||||
|
||||
@@ -3,7 +3,6 @@ pluginManagement {
|
||||
gradlePluginPortal()
|
||||
google()
|
||||
mavenCentral()
|
||||
maven("https://storage.googleapis.com/r8-releases/raw")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user