Mercurial > hg > y16 > e165759 > os > 2.2
changeset 1:8efe825340e8
Add manifest
author | Hiroyuki Tamae <e165759@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 05 Nov 2017 16:29:06 +0900 |
parents | aff4ff476798 |
children | a064f3d39dda |
files | build.gradle |
diffstat | 1 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/build.gradle Sun Nov 05 16:12:22 2017 +0900 +++ b/build.gradle Sun Nov 05 16:29:06 2017 +0900 @@ -3,7 +3,7 @@ apply plugin: 'java' -sourceCompatibility = 1.8 +sourceCompatibility = 1.9 repositories { mavenCentral() @@ -12,3 +12,14 @@ 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.e165759.FileWrite" + attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version + } +} \ No newline at end of file