Skip to content

Commit

Permalink
Android compileSdk 34 to 35 (#501)
Browse files Browse the repository at this point in the history
TWiStErRob authored Jan 18, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 915b272 commit 0d79a11
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -38,6 +38,14 @@ tasks.withType<JavaCompile>().configureEach javac@{
"-Xlint:all",
// Fail build when any warning pops up.
"-Werror",
// TODEL https://issuetracker.google.com/issues/359561906
// > > Task :android:database-contract:compileDebugJavaWithJavac FAILED
// > /modules/java.base/java/lang/List.class:
// > /modules/java.base/java/util/Collections.class:
// > /modules/java.base/java/lang/Double.class:
// > warning: Cannot find annotation method 'value()' in type 'FlaggedApi':
// > class file for android.annotation.FlaggedApi not found
"-Xlint:-classfile",
)

if (this@javac.name.endsWith("UnitTestJavaWithJavac")
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ dependencies {

android {
namespace = project.autoNamespace
compileSdk = 34
compileSdk = 35
defaultConfig {
minSdk = 21
}

0 comments on commit 0d79a11

Please sign in to comment.