You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue has already been reported to the AGP maintainers here. However, I wonder whether there's a replacement API that isn't deprecated that this project could use to work around the problem.
Hey, thanks for reporting. We've been getting away with the old Variant API for many years now, but I guess all things must come to an end eventually. Since the next plugin version raises the minimum AGP requirement to 8.0, we finally have access to the new Variant API for source directories throughout all of the supported versions, so I'm okay with swapping out the implementation
The issue has already been reported to the AGP maintainers here. However, I wonder whether there's a replacement API that isn't deprecated that this project could use to work around the problem.
android-junit5/plugin/android-junit5/src/main/kotlin/de/mannodermaus/gradle/plugins/junit5/tasks/AndroidJUnit5WriteFilters.kt
Lines 51 to 53 in 38ef72c
I believe the latest API to do the same is one of the following.
There's also
addStaticSourceDirectory
, but since the output of a task is needed here,addGeneratedSourceDirectory
is probably the right one.An example can be found here. The Readme for that example project is in the root folder.
I've applied the following workaround in my project for now:
The text was updated successfully, but these errors were encountered: