FailedConsole Output

+ JAVA_HOME=/var/lib/jenkins/jdk-17.0.1+12/
+ ./gradlew test --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.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Configure project :Common
SpongePowered Vanilla 'GRADLE' Toolset Version '0.2.1-SNAPSHOT'

> Configure project :CommonApi
Targeting Minecraft '1.19.2' on a 'JOINED' platform

> Configure project :Common
Targeting Minecraft '1.19.2' on a 'JOINED' platform

> Configure project :Fabric
Fabric Loom: 0.12.56

> Configure project :Library
e: /var/lib/jenkins/workspace/JEI-Jenkinsfile/Library/build.gradle.kts:93:22: Unresolved reference: sourcesJarTask

FAILURE: Build failed with an exception.

* Where:
Build file '/var/lib/jenkins/workspace/JEI-Jenkinsfile/Library/build.gradle.kts' line: 93

* What went wrong:
Script compilation error:

  Line 93:             artifact(sourcesJarTask.get())
                                ^ Unresolved reference: sourcesJarTask

1 error

* 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

BUILD FAILED in 14s