Posted May 27, 20196 yr So my 1.13 project uses some libraries which have to be shaded in and whenever I use shadowjar on anything pre 1.13 works fine, however if I use this: shadowJar { minimize() } reobf { //noinspection GroovyMissingReturnStatement shadowJar {} } I get this error: > Task :mod-1-13-x:compileJava > Task :mod-1-13-x:processResources > Task :mod-1-13-x:classes > Task :mod-1-13-x:jar > Task :mod-1-13-x:downloadMcpConfig > Task :mod-1-13-x:extractSrg > Task :mod-1-13-x:createMcpToSrg > Task :mod-1-13-x:reobfJar > Task :mod-1-13-x:shadowJar > Task :mod-1-13-x:reobfShadowJar FAILED FAILURE: Build failed with an exception. * What went wrong: A problem was found with the configuration of task ':mod-1-13-x:reobfShadowJar'. > No value has been specified for property 'mappings'. * 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 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 19s 19 actionable tasks: 19 executed No value has been specified for property 'mappings'. 11:32:26 AM: Tasks execution finished 'clean build'. Edited May 27, 20196 yr by fernthedev
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.