square / anvil

A Kotlin compiler plugin to make dependency injection with Dagger 2 easier.
Apache License 2.0
1.3k stars 79 forks source link

replace deprecated use of `android()` with `androidTarget()` #857

Closed RBusarow closed 7 months ago

RBusarow commented 7 months ago

We were using android() for the sake of Kotlin 1.8.22 support in CI. Since that's no longer supported, we can update the build file and lose the warning in the terminal.

The warning was:

> Configure project :delegate:integration-tests:mpp:android-module
w: Please use `androidTarget` function instead of `android` to configure android target inside `kotlin { }` block.