-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a couple of build-time warnings in Gradle output #3349
Conversation
Thank you for your contribution! Here are a few things to check in the PR to ensure it's reviewed as quickly as possible:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3349 +/- ##
===========================================
- Coverage 82.62% 82.61% -0.02%
===========================================
Files 1699 1699
Lines 39979 39979
Branches 4864 4864
===========================================
- Hits 33033 33029 -4
- Misses 5229 5230 +1
- Partials 1717 1720 +3 ☔ View full report in Codecov by Sentry. |
Fixes the warning: > Configure project : dependency.analysis.autoapply is set to false, but this is now the only behavior, and the flag has no effect. You should remove it from your build scripts. Signed-off-by: Joe Groocock <me@frebib.net>
> Task :plugins:compileKotlin w: file:///.../plugins/src/main/kotlin/extension/KoverExtension.kt:70:109 'capitalized(): String' is deprecated. This was never intended as a public API. Signed-off-by: Joe Groocock <me@frebib.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, one question before we can merge. I'll also check how it behave when compiling with a local SDK.
@@ -58,7 +58,7 @@ fun Project.setupKover() { | |||
task("koverVerifyAll") { | |||
group = "verification" | |||
description = "Verifies the code coverage of all subprojects." | |||
val dependencies = listOf(":app:koverVerifyGplayDebug") + koverVariants.map { ":app:koverVerify${it.capitalized()}" } | |||
val dependencies = listOf(":app:koverVerifyGplayDebug") + koverVariants.map { ":app:koverVerify${it.replaceFirstChar(Char::titlecase)}" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK for this change.
@@ -46,6 +46,3 @@ android.experimental.enableTestFixtures=true | |||
|
|||
# Create BuildConfig files as bytecode to avoid Java compilation phase | |||
android.enableBuildConfigAsBytecode=true | |||
|
|||
# By default, the plugin applies itself to all subprojects, but we don't want that as it would cause issues with builds using local AARs | |||
dependency.analysis.autoapply=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the warning OOI? (doc I have found)
Also have you check that building the application using a local SDK is still wroking after this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's:
dependency.analysis.autoapply is set to false, but this is now the only behavior, and the flag has no effect. You should remove it from your build scripts.
Content
Fix a couple of warnings. See commit messages for what and why
Motivation and context
They were easy to fix and annoying me
Screenshots / GIFs
Tests
Tested devices
Checklist