The sourceCompatibility, tartgetCompatibility, and similar variables by default set the default java version to 8 which is fine. Building also works when setting that value to java 1.9 and 1.10. However, when trying to set that value (or just remove it entirely with Java11 installed) to Java 1.11+ ./gradlew build fails with the following exception:

The version of SpecialSource used currently is 1.8.3 which includes an outdated version of ASM from 2018 whereas the latest release of SpecialSource (1.8.6) updates ASM to support java builds up to 1.14.
However, I do realize that updating dependencies can sometimes be problematic and I'm relatively new to the Forge scene so I could possibly be missing something obvious that would cause problems, but am willing to assist if possible.
P.S: I know that minecraft/forge support 1.8 because that is what is widely used, but I think it would be better to support higher java versions for whatever reason, especially since forge itself has preliminary support for java13 from the latest release.
The
sourceCompatibility,tartgetCompatibility, and similar variables by default set the default java version to 8 which is fine. Building also works when setting that value to java 1.9 and 1.10. However, when trying to set that value (or just remove it entirely with Java11 installed) to Java 1.11+./gradlew buildfails with the following exception:The version of SpecialSource used currently is
1.8.3which includes an outdated version of ASM from 2018 whereas the latest release of SpecialSource(1.8.6)updates ASM to support java builds up to 1.14.However, I do realize that updating dependencies can sometimes be problematic and I'm relatively new to the Forge scene so I could possibly be missing something obvious that would cause problems, but am willing to assist if possible.
P.S: I know that minecraft/forge support 1.8 because that is what is widely used, but I think it would be better to support higher java versions for whatever reason, especially since forge itself has preliminary support for java13 from the latest release.