diff build.gradle @ 0:c082039368f5

make project
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Thu, 07 Dec 2017 21:45:59 +0900
parents
children 3ea61d0bfc34
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build.gradle	Thu Dec 07 21:45:59 2017 +0900
@@ -0,0 +1,24 @@
+apply plugin: 'java'
+
+sourceCompatibility = 1.9
+
+[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
+group = 'cr.ie.u_ryukyu.ac.jp'
+version = '1.0'
+
+repositories {
+    mavenCentral()
+}
+
+dependencies {
+    testCompile group: 'junit', name: 'junit', version: '4.11'
+}
+
+jar {
+    exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
+    manifest {
+        attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
+    }
+    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
+    archiveName = 'Christie.jar'
+}
\ No newline at end of file