+ ./gradlew build -PBUILD_NUMBER=6 --no-daemon
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Task :compileJava
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/common/data/ConfigEnabledCondition.java:45: warning: [removal] test() in ICondition has been deprecated and marked for removal
public boolean test() {
^
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/common/network/MilkablePacket.java:49: error: cannot find symbol
entity.getPersistentData().putShort(CommonsEvents.TAG_MILKCOOLDOWN, (short)(packet.milkable ? 0 : 100));
^
symbol: variable TAG_MILKCOOLDOWN
location: class CommonsEvents
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/plugins/jei/JEIPlugin.java:39: warning: [removal] registerSubtypeInterpreter(Item,IIngredientSubtypeInterpreter<ItemStack>) in ISubtypeRegistration has been deprecated and marked for removal
Consumer<ItemLike> setTextureSubtype = item -> registry.registerSubtypeInterpreter(item.asItem(), texture);
^
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/plugins/jei/JEIPlugin.java:50: warning: [removal] ITEM in VanillaTypes has been deprecated and marked for removal
for (ItemStack item : ingedientManager.getAllIngredients(VanillaTypes.ITEM)) {
^
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/plugins/jei/JEIPlugin.java:75: warning: [removal] ITEM in VanillaTypes has been deprecated and marked for removal
ingedientManager.removeIngredientsAtRuntime(VanillaTypes.ITEM, hidden);
^
/var/lib/jenkins/workspace/Inspirations_1.18/src/main/java/knightminer/inspirations/plugins/jei/JEIPlugin.java:78: warning: [removal] ITEM in VanillaTypes has been deprecated and marked for removal
ingedientManager.addIngredientsAtRuntime(VanillaTypes.ITEM, visible);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
5 warnings
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 20s
1 actionable task: 1 executed