From: David ‘Bombe’ Roden Date: Thu, 7 May 2015 05:06:04 +0000 (+0200) Subject: Add war configuration X-Git-Tag: v2~181 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=02183a0d26e3783eaaa94ff65dd63e66a7e14adc;p=rhynodge.git Add war configuration --- diff --git a/build.gradle b/build.gradle index 643c22d..8984693 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ apply plugin: "java" +apply plugin: "war" apply plugin: "jacoco" apply plugin: "idea" @@ -75,4 +76,9 @@ createVersion << { new File("src/generated/resources/version.txt").withWriter() { it.write(version) } } +war { + classpath sourceSets.generated.output + dependsOn(test) +} + /* vim: set ts=4 sw=4 et: */