We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to build an executable Jar with ShadowJar, but everytime it throws the error:
A problem was found with the configuration of task ':shadowJar' (type 'ShadowJar'). > No value has been specified for property 'mainClassName'.
So, i really dont know what to do. Here my build.grandle:
buildscript { repositories { jcenter() } dependencies { classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4' } } plugins { id 'java' id 'application' id 'com.github.johnrengelman.shadow' version '2.0.4' } mainClassName = "de.filtastisch.discord.beatbot.Main" group 'de.filtastisch.discord' version '1.0-SNAPSHOT' sourceCompatibility = 1.8 repositories { mavenCentral() jcenter() } dependencies { compile 'net.dv8tion:JDA:4.2.0_225' }
The text was updated successfully, but these errors were encountered:
Duplicate of #609
Sorry, something went wrong.
No branches or pull requests
I'm trying to build an executable Jar with ShadowJar, but everytime it throws the error:
So, i really dont know what to do.
Here my build.grandle:
The text was updated successfully, but these errors were encountered: