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
It is apparently only triggered when Log4J is on the classpath.
at org.gradle.util.VersionNumber.logDeprecation(VersionNumber.java:38)
at org.gradle.util.VersionNumber.parse(VersionNumber.java:175)
at com.gradle.publish.PublishPlugin$Log4jVulnerabilityChecker.isVulnerableLog4jDependency(PublishPlugin.java:295)
at com.gradle.publish.PublishPlugin$Log4jVulnerabilityChecker.lambda$null$0(PublishPlugin.java:276)
Steps to Reproduce
Use Gradle 8.11.1 or higher to create a "Gradle Plugin Project"
Add id("com.gradle.plugin-publish") version "1.3.0" (this plugin) in build.gradle.kts
Add dependencies { implementation("org.apache.logging.log4j:log4j-core:2.24.1") } to build.gradle.kts
Expected Behavior
Plugin should not use deprecated Gradle API
Current Behavior
These deprecations can be observed:
https://scans.gradle.com/s/c72rjhbzovfoc/deprecations
It is apparently only triggered when Log4J is on the classpath.
Steps to Reproduce
id("com.gradle.plugin-publish") version "1.3.0"
(this plugin) inbuild.gradle.kts
dependencies { implementation("org.apache.logging.log4j:log4j-core:2.24.1") }
tobuild.gradle.kts
Your Environment
https://scans.gradle.com/s/c72rjhbzovfoc#infrastructure
The text was updated successfully, but these errors were encountered: