forked from I2P_Developers/i2p.i2p

Previously, ScalaTests were only disabled when running Gradle with JDK 7. Gradle 5+ only runs on JDK 8+, so when cross-compiling and testing JDK 7 we need to check for this state and disable ScalaTests.
Previously, ScalaTests were only disabled when running Gradle with JDK 7. Gradle 5+ only runs on JDK 8+, so when cross-compiling and testing JDK 7 we need to check for this state and disable ScalaTests.