So as discussed by mail a few times, Google now starting with AGP 8.0 alpha 10 enforce this.
And you can no more compile tasker plugins.
For the moment it's still possible to opt out with
android.nonFinalResIds=false in gradle.properties but for how long.
It's also necessary to disable lint rule: NonConstantResourceId
This was delayed for a long time, but it's really time to think about alternative solution for the future.