comparison build.gradle @ 11:3644acaf2c4a

fix build.gradle
author suruga
date Sat, 22 Jul 2017 20:28:20 +0900
parents 4a66328f0141
children f7cdb6374bdb
comparison
equal deleted inserted replaced
10:6e91ad317eb0 11:3644acaf2c4a
22 compile group: 'org.hectorclient', name: 'hector-core', version: '1.1-2' 22 compile group: 'org.hectorclient', name: 'hector-core', version: '1.1-2'
23 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'jungle-core', version: '1.0', ext: 'jar' 23 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'jungle-core', version: '1.0', ext: 'jar'
24 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'Alice', version: '1.1', ext: 'jar' 24 compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'Alice', version: '1.1', ext: 'jar'
25 jar { 25 jar {
26 manifest { 26 manifest {
27 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version 27 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version,
28 "Main-Class": 'jp.ac.u_ryukyu.ie.cr.bbs.browsing.App'
28 } 29 }
29 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } 30 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
30 } 31 }
31 32
32 uploadArchives { 33 uploadArchives {
33 repositories { 34 repositories {
34 flatDir { 35 flatDir {
35 dirs '.' 36 dirs '.'
36 } 37 }
38 }
37 } 39 }
38 }
39 } 40 }
41
42 task jungleBrowser(type: Jar) {
43 manifest {
44 attributes(
45 "Main-Class": 'jp.ac.u_ryukyu.ie.cr.bbs.browsing.App',
46 "Implementation-Title": 'JungleBrowser',
47 "Implementation-Description": 'Quickstart',
48 "Implementation-Version": version,
49 "Assembly-Date": new java.util.Date().toString()
50 )
51 baseName = "jungleBrowser"
52 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
53 }