opentelemetry-java-instrumentation icon indicating copy to clipboard operation
opentelemetry-java-instrumentation copied to clipboard

Fix deprecated features in Gradle build scripts

Open iNikem opened this issue 6 years ago • 5 comments

Current gradle build scripts use a lot of deprecated features, that are expected to stop working in gradle's next major version. We should fix them.

iNikem avatar Apr 25 '20 13:04 iNikem

I have tried to do this and failed :) I am not sure this is very good candidate for good firs issue. It requires the understanding of generated gradle tasks. And choosing between api and implementation may require understanding the purpose of gradle submodules. Which is not documented at.

iNikem avatar Apr 27 '20 11:04 iNikem

Thanks for giving it a shot, and for your assessment! I will remove the good first issue tag.

trask avatar Apr 27 '20 21:04 trask

Mostly done, see #643, #653, #659, and some other earlier PRs too.

@iNikem @anuraaga do you want to keep this open? Once we remove all deprecated features, can we enable some kind of flag to fail the build if any creep back?

trask avatar Jul 16 '20 07:07 trask

Yes and yes

iNikem avatar Jul 16 '20 07:07 iNikem

Some are fixed here: https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/2085

At the moment of writing I think there is only one Gradle deprecation warning left.

vovencij avatar Jan 20 '21 15:01 vovencij