Closed Whop42 closed 3 years ago
Remove the shadowJar part or add it.
Actually just remove shadowJar since you don't have the plugin installed
Thanks, I'm pretty sure that worked!
Is there a reason to have the shadowJar() method?
Wait no, it doesn't work. The build.gradle
compiles but the actual implementation doesn't work (or build.)
Shadowjar is like another extension for depedencies/gradle plugins, im not sure lol. U can try installing shadowjar or refreshing the project by closing and opening it.
Was the orginal issue already resolved, if yes please send the full log for the second error, if not, you need to add this inside the dependencies
block inside your buildscript
block in build.gradle
:
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
Also add this below your buildscript
block:
apply plugin: 'com.github.johnrengelman.shadow'
No response, assuming user error was solved.
I have hardly any experience with gradle, and this is probably a mistake on my end. This is my build.gradle:
and here is the error it shows:
> Could not find method shadowJar() for arguments [build_grs068kl74kuz0pe0gryllew$_run_closure3@3f067d47] on root project 'DentClient' of type org.gradle.api.Project.
How do I fix this?