Clean up warnings when generating a new project #440
ryan-conway
started this conversation in
RFCs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why
When running
new_project.kts
, there are several warnings in the log while the project builds:JVM target compatibility
Solution: Update Gradle plugin to
7.4.2
Deprecated APIs
Solution: Update Navigation Component dependency to
2.5.3
Solution: Remove
kapt.use.worker.api
fromgradle.properties
Namespace in manifest
Solution: Move namespace declaration from
AndroidManifest.xml
tobuild.gradle.kts
Since most of these are deprecation warnings, it makes sense to handle them now before we eventually update their dependencies to a version where they are removed.
Who Benefits?
Android developers
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions