Closed sdavids closed 8 months ago
No idea where this class is referenced. It's just standard plugin code.
https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#java_convention_deprecation
You might want to check all project.XXX
usages.
I am not sure if I have an idea how to fix this. So it could be that I won't have time to fix this for next version coming out with Java 22 next week.
Uwe
I will delay changes to after the Java 22 compatibility release. Sorry. I don't feel this is too urgent.
Hi, I fixed the problem in this PR: #247
Will verify with 3.7
.
Thanks! I did this already with Jenkins: https://jenkins.thetaphi.de/job/Forbidden-APIs-testonly-GradleLatest-Linux/119/console
In addition I also changed the code to fetch sourceSets directly from Java extension, if available (after Gradle 7.1). Tis should make it future proof. Normally there should also be a warning poping up, but it isn't.
See 068b0ca72b4bdc5054467e8f1b5a36c8b98694bf
Forbiddenapis v3.7 was released a minute ago.
verified with v3.7
gradle/libs.versions.toml