DataDog / dd-sdk-android-gradle-plugin

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

Make plugin compatible with Kotlin Script #197

Closed xgouchet closed 10 months ago

xgouchet commented 10 months ago

What does this PR do?

Adds configuration DSL to easily setup the plugin when using Kotlin Script

Motivation

Fixes #154

codecov-commenter commented 10 months ago

Codecov Report

Merging #197 (50c35c2) into develop (48a858a) will decrease coverage by 0.45%. The diff coverage is 20.00%.

@@              Coverage Diff              @@
##             develop     #197      +/-   ##
=============================================
- Coverage      86.70%   86.25%   -0.45%     
- Complexity       177      178       +1     
=============================================
  Files             21       21              
  Lines            579      582       +3     
  Branches          76       76              
=============================================
  Hits             502      502              
- Misses            49       53       +4     
+ Partials          28       27       -1     
Files Coverage Δ
...in/kotlin/com/datadog/gradle/plugin/DdExtension.kt 50.00% <20.00%> (-35.71%) :arrow_down:

... and 1 file with indirect coverage changes

KDevvv commented 10 months ago

@0xnm when this fix will be released? It would be great to add it ASAP, and remove my hacky way to support different service name depending of variants

0xnm commented 10 months ago

Hello @KamilPieta! Please check version 1.12.0 of our plugin, which has change.