532099 - Provide legal documents in distributions
Signed-off-by: Matthias Koller <m.koller@peak-solution.de>
diff --git a/build.gradle b/build.gradle
index c076045..8879f8d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -13,16 +13,17 @@
apply plugin: 'java'
apply plugin: 'eclipse'
-repositories {
- mavenCentral()
-}
+repositories { mavenCentral() }
-dependencies {
- // testing
- testCompile 'junit:junit:4.12'
-}
+dependencies { // testing
+ testCompile 'junit:junit:4.12' }
tasks.withType(JavaCompile) {
- sourceCompatibility = '1.7'
- targetCompatibility = '1.7'
+ sourceCompatibility = '1.7'
+ targetCompatibility = '1.7'
+}
+
+jar {
+ metaInf { from 'NOTICE.txt' }
+ metaInf { from 'LICENSE.txt' }
}
\ No newline at end of file