Last active
March 23, 2016 05:58
-
-
Save childnode/d96c084ac088d2d94b44 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'application' | |
id 'com.zoltu.git-versioning' version '2.0.6' | |
// id 'io.ratpack.ratpack-java' version '1.2.0' | |
} | |
repositories { | |
jcenter() | |
} | |
// application | |
mainClassName = "de.childno.WsStart" | |
wrapper { | |
gradleVersion = '2.11' | |
} | |
jar { | |
baseName = project.name | |
manifest { | |
attributes 'Main-Class': mainClassName | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'application' | |
id 'com.zoltu.git-versioning' version '2.0.6' | |
id 'io.ratpack.ratpack-java' version '1.2.0' | |
} | |
repositories { | |
jcenter() | |
} | |
// application | |
mainClassName = "de.childno.WsStart" | |
wrapper { | |
gradleVersion = '2.11' | |
} | |
jar { | |
baseName = project.name | |
manifest { | |
attributes 'Main-Class': mainClassName | |
} | |
} | |
tasks.withType(Jar) { task -> | |
task.doLast { | |
applicationDistribution.from(task.temporaryDir) { | |
into "app/META-INF" | |
include "MANIFEST.MF" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
presumable, aside the given workaround above there should be another workaround, but I'm too stupid to archive this one working:
links: