DataDog / dd-sdk-android-gradle-plugin

The Datadog Gradle Plugin for Android
Apache License 2.0
14 stars 9 forks source link

RUM-2271: Add files under kotlin source set to the repository information #212

Closed 0xnm closed 11 months ago

0xnm commented 1 year ago

What does this PR do?

AGP 7.0.0 introduced the additional kotlinDirectories to explicitly separate kotlin and java source sets, so if all the files are under kotlin, we were missing it. This PR fixes that.

Review checklist (to be filled by reviewers)

codecov-commenter commented 1 year ago

Codecov Report

Merging #212 (1537f56) into develop (0fd0071) will decrease coverage by 0.97%. The diff coverage is 28.57%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #212 +/- ## ============================================= - Coverage 79.05% 78.08% -0.97% - Complexity 186 187 +1 ============================================= Files 22 22 Lines 654 666 +12 Branches 81 85 +4 ============================================= + Hits 517 520 +3 - Misses 107 117 +10 + Partials 30 29 -1 ``` | [Files](https://app.codecov.io/gh/DataDog/dd-sdk-android-gradle-plugin/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | Coverage Δ | | |---|---|---| | [...og/gradle/plugin/internal/GitRepositoryDetector.kt](https://app.codecov.io/gh/DataDog/dd-sdk-android-gradle-plugin/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-ZGQtc2RrLWFuZHJvaWQtZ3JhZGxlLXBsdWdpbi9zcmMvbWFpbi9rb3RsaW4vY29tL2RhdGFkb2cvZ3JhZGxlL3BsdWdpbi9pbnRlcm5hbC9HaXRSZXBvc2l0b3J5RGV0ZWN0b3Iua3Q=) | `97.06% <100.00%> (ø)` | | | [...n/com/datadog/gradle/plugin/internal/ProjectExt.kt](https://app.codecov.io/gh/DataDog/dd-sdk-android-gradle-plugin/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-ZGQtc2RrLWFuZHJvaWQtZ3JhZGxlLXBsdWdpbi9zcmMvbWFpbi9rb3RsaW4vY29tL2RhdGFkb2cvZ3JhZGxlL3BsdWdpbi9pbnRlcm5hbC9Qcm9qZWN0RXh0Lmt0) | `100.00% <ø> (ø)` | | | [...com/datadog/gradle/plugin/DdAndroidGradlePlugin.kt](https://app.codecov.io/gh/DataDog/dd-sdk-android-gradle-plugin/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-ZGQtc2RrLWFuZHJvaWQtZ3JhZGxlLXBsdWdpbi9zcmMvbWFpbi9rb3RsaW4vY29tL2RhdGFkb2cvZ3JhZGxlL3BsdWdpbi9EZEFuZHJvaWRHcmFkbGVQbHVnaW4ua3Q=) | `54.65% <23.08%> (-2.22%)` | :arrow_down: |