Description
Description
log4j 2.25.0's dependency com.github.spotbugs:spotbugs-annotations:4.9.3
is only compatible with JVM runtime version 11+
Configuration
Version: 2.25.0
Operating system: Linux 6.14.6-2-MANJARO
JDK: Oracle Java 1.8.0
Logs
from a ./gradlew build
with a org.apache.logging.log4j:log4j-api:2.25.0
dependency using Java 8:
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve com.github.spotbugs:spotbugs-annotations:4.9.3.
Required by:
root project : > org.apache.logging.log4j:log4j-api:2.25.0
> Dependency resolution is looking for a library compatible with JVM runtime version 8, but 'com.github.spotbugs:spotbugs-annotations:4.9.3' is only compatible with JVM runtime version 11 or newer.
Reproduction
https://github.com/hankem/log4j-2.25.0-with-Java-8
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done