Revised the Gradle stage to use 'gradlew build' instead of 'gradlew shadowJar' for better compatibility. This change ensures the build process aligns with the default Gradle task and simplifies the Jenkins pipeline configuration.