Mercurial > hg > y16 > e165728 > os > 2.2
changeset 1:c5e7debe68fb
First commit
author | Tomoya Uchihara <e165728@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 31 Oct 2017 17:35:13 +0900 |
parents | 1d8b7d90a969 |
children | a367b7f0640e |
files | build.gradle |
diffstat | 1 files changed, 11 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/build.gradle Tue Oct 31 17:01:08 2017 +0900 +++ b/build.gradle Tue Oct 31 17:35:13 2017 +0900 @@ -1,9 +1,9 @@ group 'FileWrite' -version '1.0-SNAPSHOT' +version '0.0' apply plugin: 'java' -sourceCompatibility = 1.8 +sourceCompatibility = 1.9 repositories { mavenCentral() @@ -12,17 +12,14 @@ dependencies { testCompile group: 'junit', name: 'junit', version: '4.12' } -group 'FileWrite' -version '1.0-SNAPSHOT' -apply plugin: 'java' - -sourceCompatibility = 1.8 - -repositories { - mavenCentral() +compileJava { + options.compilerArgs << "-Werror" } - -dependencies { - testCompile group: 'junit', name: 'junit', version: '4.12' -} +jar { + // from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } + manifest { + attributes "Main-Class": "jp.ac.uryukyu.ie.e165728.FileWrite" + attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version + } +} \ No newline at end of file