adde0109 / Proxy-Compatible-Forge

Works with: 1.16.5 - 1.18.2 - 1.19.x - 1.20.x
Other
34 stars 14 forks source link

[1.16.5] Build failure - "package net.minecraft.network does not exist" #1

Closed unilock closed 2 years ago

unilock commented 2 years ago

The 1.16.5 branch fails to compile, with the message error: package net.minecraft.network does not exist. Let me what other info I can provide.

uname -srv

Linux 5.18.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)

java -version

openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment Temurin-17.0.3+7 (build 17.0.3+7)
OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (build 17.0.3+7, mixed mode, sharing)

gradlew clean build

To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :
[MixinGradle] Skipping eclipse integration, extension not found
Java: 17.0.3 JVM: 17.0.3+7(Eclipse Adoptium) Arch: amd64
WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task
WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here.  Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.
[16:57:04] [main/INFO]: Writing debug log file accesstransform.log
[16:57:04] [main/INFO]: Access Transformer processor running version 8.0.7+8.0.7+master.43473d43
[16:57:04] [main/INFO]: Command line arguments [--inJar, /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35/forge-1.16.5-36.2.35-injected.jar, --outJar, /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35_mapped_official_1.16.5/forge-1.16.5-36.2.35_mapped_official_1.16.5.jar, --logFile, accesstransform.log, --atFile, /home/unilock/projects/test/src/main/resources/META-INF/accesstransformer.cfg, --atFile, /home/unilock/projects/test/build/_atJar_5/parent_at.cfg]
[16:57:04] [main/INFO]: Reading from /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35/forge-1.16.5-36.2.35-injected.jar
[16:57:04] [main/INFO]: Writing to /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35_mapped_official_1.16.5/forge-1.16.5-36.2.35_mapped_official_1.16.5.jar
[16:57:04] [main/INFO]: Transformer file /home/unilock/projects/test/src/main/resources/META-INF/accesstransformer.cfg
[16:57:04] [main/INFO]: Transformer file /home/unilock/projects/test/build/_atJar_5/parent_at.cfg
[16:57:04] [main/WARN]: Found existing output jar /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35_mapped_official_1.16.5/forge-1.16.5-36.2.35_mapped_official_1.16.5.jar, overwriting
[16:57:08] [main/INFO]: JAR transformation complete /home/unilock/projects/test/build/fg_cache/net/minecraftforge/forge/1.16.5-36.2.35_mapped_official_1.16.5/forge-1.16.5-36.2.35_mapped_official_1.16.5.jar
Creating SRG -> MCP TSRG

> Task :compileJava FAILED
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:7: error: package net.minecraft.network does not exist
import net.minecraft.network.PacketBuffer;
                            ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:8: error: package net.minecraft.network.login.client does not exist
import net.minecraft.network.login.client.CCustomPayloadLoginPacket;
                                         ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:30: error: cannot find symbol
  public GameProfile handleForwardingPacket(CCustomPayloadLoginPacket packet) {
                                            ^
  symbol:   class CCustomPayloadLoginPacket
  location: class org.adde0109.ambassador.forge.ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:46: error: cannot find symbol
  public boolean validate(PacketBuffer buffer) {
                          ^
  symbol:   class PacketBuffer
  location: class org.adde0109.ambassador.forge.ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/ModernForwarding.java:71: error: cannot find symbol
  public PropertyMap readProperties(PacketBuffer buf) {
                                    ^
  symbol:   class PacketBuffer
  location: class org.adde0109.ambassador.forge.ModernForwarding
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:6: error: package net.minecraft.network does not exist
import net.minecraft.network.PacketBuffer;
                            ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:7: error: package net.minecraft.util does not exist
import net.minecraft.util.ResourceLocation;
                         ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:8: error: package net.minecraftforge.fml.config does not exist
import net.minecraftforge.fml.config.ConfigTracker;
                                    ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:9: error: package net.minecraftforge.fml.network does not exist
import net.minecraftforge.fml.network.FMLHandshakeMessages;
                                     ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:10: error: package net.minecraftforge.registries does not exist
import net.minecraftforge.registries.RegistryManager;
                                    ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:86: error: cannot find symbol
 private static void writePacket(PacketBuffer byteBuf,int packetID, Consumer<PacketBuffer> consumer) {
                                 ^
  symbol:   class PacketBuffer
  location: class org.adde0109.ambassador.forge.HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:86: error: cannot find symbol
 private static void writePacket(PacketBuffer byteBuf,int packetID, Consumer<PacketBuffer> consumer) {
                                                                             ^
  symbol:   class PacketBuffer
  location: class org.adde0109.ambassador.forge.HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:98: error: package FMLHandshakeMessages does not exist
  private static void encode(FMLHandshakeMessages.S2CRegistry config, PacketBuffer buffer) {
                                                 ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:98: error: cannot find symbol
  private static void encode(FMLHandshakeMessages.S2CRegistry config, PacketBuffer buffer) {
                                                                      ^
  symbol:   class PacketBuffer
  location: class org.adde0109.ambassador.forge.HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:105: error: package FMLHandshakeMessages does not exist
  private static void encode(FMLHandshakeMessages.S2CConfigData config, PacketBuffer buffer) {
                                                 ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/HandshakeDataTransmitter.java:105: error: cannot find symbol
  private static void encode(FMLHandshakeMessages.S2CConfigData config, PacketBuffer buffer) {
                                                                        ^
  symbol:   class PacketBuffer
  location: class org.adde0109.ambassador.forge.HandshakeDataTransmitter
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:5: error: package net.minecraft.network does not exist
import net.minecraft.network.NetworkManager;
                            ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:6: error: package net.minecraft.network does not exist
import net.minecraft.network.PacketBuffer;
                            ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:7: error: package net.minecraft.network.login does not exist
import net.minecraft.network.login.ServerLoginNetHandler;
                                  ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:8: error: package net.minecraft.network.login.client does not exist
import net.minecraft.network.login.client.CCustomPayloadLoginPacket;
                                         ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:9: error: package net.minecraft.util does not exist
import net.minecraft.util.ResourceLocation;
                         ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:10: error: package net.minecraft.util.text does not exist
import net.minecraft.util.text.ITextComponent;
                              ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:11: error: package net.minecraft.util.text does not exist
import net.minecraft.util.text.StringTextComponent;
                              ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:12: error: package net.minecraftforge.fml.network does not exist
import net.minecraftforge.fml.network.NetworkDirection;
                                     ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:28: error: cannot find symbol
  private NetworkManager connection;
          ^
  symbol:   class NetworkManager
  location: class org.adde0109.ambassador.forge.mixin.login.ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:34: error: cannot find symbol
  private void disconnect(ITextComponent p_194026_1_) {}
                          ^
  symbol:   class ITextComponent
  location: class org.adde0109.ambassador.forge.mixin.login.ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:37: error: package ServerLoginNetHandler does not exist
  private ServerLoginNetHandler.State state;
                               ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:39: error: cannot find symbol
  private static final ResourceLocation VELOCITY_RESOURCE = new ResourceLocation("velocity:player_info");
                       ^
  symbol:   class ResourceLocation
  location: class org.adde0109.ambassador.forge.mixin.login.ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:51: error: cannot find symbol
  private void onHandleCustomQueryPacket(CCustomPayloadLoginPacket p_209526_1_, CallbackInfo ci) {
                                         ^
  symbol:   class CCustomPayloadLoginPacket
  location: class org.adde0109.ambassador.forge.mixin.login.ModernForwardingMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:7: error: package net.minecraft.command.arguments does not exist
import net.minecraft.command.arguments.ArgumentTypes;
                                      ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:8: error: package net.minecraft.network does not exist
import net.minecraft.network.PacketBuffer;
                            ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:9: error: package net.minecraft.network.play.server does not exist
import net.minecraft.network.play.server.SCommandListPacket;
                                        ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:10: error: package net.minecraft.util does not exist
import net.minecraft.util.ResourceLocation;
                         ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:19: error: cannot find symbol
    private static final ResourceLocation MOD_ARGUMENT_INDICATOR = new ResourceLocation("crossstitch:mod_argument");
                         ^
  symbol:   class ResourceLocation
  location: class org.adde0109.ambassador.forge.mixin.command.CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:72: error: cannot find symbol
    private static void writeNode$wrapInVelocityModArgument(PacketBuffer packetByteBuf, ArgumentType<?> type) {
                                                            ^
  symbol:   class PacketBuffer
  location: class org.adde0109.ambassador.forge.mixin.command.CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:88: error: cannot find symbol
    private static void serializeWrappedArgumentType(PacketBuffer packetByteBuf, ArgumentType argumentType, ArgumentTypes.Entry entry) {
                                                     ^
  symbol:   class PacketBuffer
  location: class org.adde0109.ambassador.forge.mixin.command.CommandTreeSerializationMixin
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:88: error: package ArgumentTypes does not exist
    private static void serializeWrappedArgumentType(PacketBuffer packetByteBuf, ArgumentType argumentType, ArgumentTypes.Entry entry) {
                                                                                                                         ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:4: error: package net.minecraft.network does not exist
import net.minecraft.network.ServerStatusResponse;
                            ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:5: error: package net.minecraft.network.status.server does not exist
import net.minecraft.network.status.server.SServerInfoPacket;
                                          ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:19: error: cannot find symbol
  private ServerStatusResponse status;
          ^
  symbol:   class ServerStatusResponse
  location: class org.adde0109.ambassador.forge.mixin.status.DisableStatusResponseCache
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:4: error: package net.minecraft.network does not exist
import net.minecraft.network.ServerStatusResponse;
                            ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:3: error: package net.minecraft.network.handshake.client does not exist
import net.minecraft.network.handshake.client.CHandshakePacket;
                                             ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:4: error: package net.minecraftforge.fml.network does not exist
import net.minecraftforge.fml.network.FMLNetworkConstants;
                                     ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:4: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.ForgeConfigSpec;
                                ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:5: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.MinecraftForge;
                                ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:6: error: package net.minecraftforge.fml does not exist
import net.minecraftforge.fml.ModLoadingContext;
                             ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:7: error: package net.minecraftforge.fml.common does not exist
import net.minecraftforge.fml.common.Mod;
                                    ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:8: error: package net.minecraftforge.fml.config does not exist
import net.minecraftforge.fml.config.ModConfig;
                                    ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:9: error: package net.minecraftforge.fml.event.server does not exist
import net.minecraftforge.fml.event.server.FMLServerAboutToStartEvent;
                                          ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:14: error: cannot find symbol
@Mod("ambassador")
 ^
  symbol: class Mod
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:33: error: cannot find symbol
  public void serverAbutToStart(FMLServerAboutToStartEvent event) {
                                ^
  symbol:   class FMLServerAboutToStartEvent
  location: class org.adde0109.ambassador.forge.Ambassador
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:41: error: cannot find symbol
  static final ForgeConfigSpec configSpec;
               ^
  symbol:   class ForgeConfigSpec
  location: class org.adde0109.ambassador.forge.Ambassador
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:49: error: package ForgeConfigSpec does not exist
    public final ForgeConfigSpec.ConfigValue<? extends String> forwardingSecret;
                                ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/Ambassador.java:51: error: package ForgeConfigSpec does not exist
    Config(ForgeConfigSpec.Builder builder)
                          ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:23: error: cannot find symbol
@Mixin(ServerLoginNetHandler.class)
       ^
  symbol: class ServerLoginNetHandler
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:17: error: cannot find symbol
@Mixin(SCommandListPacket.class)
       ^
  symbol: class SCommandListPacket
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:14: error: cannot find symbol
@Mixin(SServerInfoPacket.class)
       ^
  symbol: class SServerInfoPacket
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: error: package ServerStatusResponse does not exist
@Mixin(ServerStatusResponse.Serializer.class)
                           ^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:10: error: cannot find symbol
@Mixin(value = CHandshakePacket.class, priority = 1200)
               ^
  symbol: class CHandshakePacket
Note: SpongePowered MIXIN Annotation Processor Version=0.8.4 (MixinGradle Version=0.7.32)
Note: ObfuscationServiceMCP supports type: "notch"
Note: ObfuscationServiceFG3 supports type: "searge"
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:23: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(ServerLoginNetHandler.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/login/ModernForwardingMixin.java:23: error: Mixin has no targets
@Mixin(ServerLoginNetHandler.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:17: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(SCommandListPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/command/CommandTreeSerializationMixin.java:17: error: Mixin has no targets
@Mixin(SCommandListPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:14: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(SServerInfoPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/DisableStatusResponseCache.java:14: error: Mixin has no targets
@Mixin(SServerInfoPacket.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(ServerStatusResponse.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/status/StatusResponseSerializationMixin.java:14: error: Mixin has no targets
@Mixin(ServerStatusResponse.Serializer.class)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:10: warning: Error processing public targets: java.lang.ClassCastException: java.lang.String cannot be cast to javax.lang.model.type.TypeMirror
@Mixin(value = CHandshakePacket.class, priority = 1200)
^
/home/unilock/projects/test/src/main/java/org/adde0109/ambassador/forge/mixin/handshake/DisableFMLMarkerCheckMixin.java:10: error: Mixin has no targets
@Mixin(value = CHandshakePacket.class, priority = 1200)
^
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing searge composite mappings to /home/unilock/projects/test/build/tmp/compileJava/compileJava-mappings.tsrg
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing refmap to /home/unilock/projects/test/build/tmp/compileJava/compileJava-refmap.json
Note: Writing searge composite mappings to /home/unilock/projects/test/build/tmp/compileJava/compileJava-mappings.tsrg
64 errors
5 warnings

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.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 37s
5 actionable tasks: 5 executed
adde0109 commented 2 years ago
  1. Clean with gradlew clean
  2. Build with gradlew build
unilock commented 2 years ago

That worked. I thought Gradle could handle two operations in one command, though? Do you know why it doesn't work?

EDIT (one year later): The answer is probably a combination of Gradle being Gradle and Forge being Forge. Welcome to Java dev!