-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
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
runShadow doesn't execute shadowJar #340
Comments
here's a clearer demonstration:
|
possible duplicate of |
@THUFIR have you tried this with 2.0.2 yet? |
@johnrengelman not as of yet, pardon. will keep you posted. |
Can this be closed ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please check the (User Guide)[http://imperceptiblethoughts.com/shadow] before submitting "how do I do 'x'?" questions!
Shadow Version
2.0.1
Gradle Version
4.3.1
Expected Behavior
runShadow will execute the uber jar
Actual Behavior
runShadow crashes
Gradle Build Script(s)
plugins {
id 'com.gradle.build-scan' version '1.8'
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '2.0.1'
}
buildScan {
licenseAgreementUrl = 'https://gradle.com/terms-of-service'
licenseAgree = 'yes'
// publishAlways()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
mainClassName = 'net.bounceme.dur.gradle.hello.App'
shadowJar {
baseName = 'greeter'
classifier = null
version = null
}
repositories {
jcenter()
}
configurations {
provided
}
dependencies {
}
Content of Shadow JAR (
jar tf <jar file>
- post link to GIST if too long)META-INF/
META-INF/MANIFEST.MF
net/
net/bounceme/
net/bounceme/dur/
net/bounceme/dur/gradle/
net/bounceme/dur/gradle/hello/
net/bounceme/dur/gradle/hello/App.class
see also:
https://stackoverflow.com/q/47261691/262852
perhaps it's not a bug...but maybe it is.
The text was updated successfully, but these errors were encountered: