changeset 1:f5015378c03c

add build.gradle
author Masakiyo Okuhma <e165725@ie.u-ryukyu.ac.jp>
date Wed, 08 Nov 2017 15:41:40 +0900
parents d4040e0cc6b9
children c61aeccb0ee4
files .idea/vcs.xml build.gradle
diffstat 2 files changed, 58 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.idea/vcs.xml	Wed Nov 08 15:41:40 2017 +0900
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$" vcs="hg4idea" />
+  </component>
+</project>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build.gradle	Wed Nov 08 15:41:40 2017 +0900
@@ -0,0 +1,52 @@
+group 'FileWrite'
+version '1.0-SNAPSHOT'
+
+apply plugin: 'java'
+
+sourceCompatibility = 1.9
+
+repositories {
+    mavenCentral()
+}
+
+dependencies {
+    testCompile group: 'junit', name: 'junit', version: '4.12'
+}
+group 'FileWrite'
+version '1.0-SNAPSHOT'
+
+apply plugin: 'java'
+
+sourceCompatibility = 1.8
+
+repositories {
+    mavenCentral()
+}
+
+dependencies {
+    testCompile group: 'junit', name: 'junit', version: '4.12'
+}
+group 'FileWrite'
+version '1.0-SNAPSHOT'
+
+apply plugin: 'java'
+
+sourceCompatibility = 1.8
+
+repositories {
+    mavenCentral()
+}
+
+dependencies {
+    testCompile group: 'junit', name: 'junit', version: '4.12'
+}
+compileJava {
+    options.compilerArgs << "-Werror"
+}
+jar {
+    // from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
+    manifest {
+        attributes  "Main-Class": "jp.ac.uryukyu.ie.e165725.FileWrite"
+        attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
+    }
+}