Mercurial > hg > Members > shoshi > jungle > bbs
diff build.gradle @ 11:3644acaf2c4a
fix build.gradle
author | suruga |
---|---|
date | Sat, 22 Jul 2017 20:28:20 +0900 |
parents | 4a66328f0141 |
children | f7cdb6374bdb |
line wrap: on
line diff
--- a/build.gradle Wed Jul 19 18:07:30 2017 +0900 +++ b/build.gradle Sat Jul 22 20:28:20 2017 +0900 @@ -24,16 +24,30 @@ compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'Alice', version: '1.1', ext: 'jar' jar { manifest { - attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version + attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version, + "Main-Class": 'jp.ac.u_ryukyu.ie.cr.bbs.browsing.App' } from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } - uploadArchives { - repositories { - flatDir { - dirs '.' - } + uploadArchives { + repositories { + flatDir { + dirs '.' + } + } } - } } + +task jungleBrowser(type: Jar) { + manifest { + attributes( + "Main-Class": 'jp.ac.u_ryukyu.ie.cr.bbs.browsing.App', + "Implementation-Title": 'JungleBrowser', + "Implementation-Description": 'Quickstart', + "Implementation-Version": version, + "Assembly-Date": new java.util.Date().toString() + ) + baseName = "jungleBrowser" + from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } + }