Mercurial > hg > Database > Alice
annotate build.gradle @ 618:41a5977e754c dispose
aquarium
author | suruga |
---|---|
date | Wed, 26 Jul 2017 16:17:33 +0900 |
parents | 9ac910236f59 |
children | c4d387b40486 |
rev | line source |
---|---|
342 | 1 apply plugin: 'java' |
2 apply plugin: 'eclipse' | |
439 | 3 apply plugin: 'maven' |
342 | 4 |
357 | 5 sourceCompatibility = 1.8 |
6 targetCompatibility = 1.8 | |
346
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
7 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' |
439 | 8 |
9 group = 'cr.ie.u_ryukyu.ac.jp' | |
553 | 10 version = '1.1' |
342 | 11 |
618 | 12 repositories { |
13 mavenCentral() | |
14 maven { url "http://www.cr.ie.u-ryukyu.ac.jp/maven"} | |
15 } | |
16 | |
342 | 17 dependencies { |
442 | 18 compile fileTree(dir: 'lib', include: '*.jar') |
618 | 19 compile group: 'com.massisframework.j3d', name: 'java3d-core', version: '1.6.0' |
20 compile group: 'com.massisframework.j3d', name: 'vecmath', version: '1.6.0.1' | |
342 | 21 } |
22 | |
23 jar { | |
564
e8280077c2f9
change gradle for Error:A JNI error has occurred, please check your installation and try again
Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
parents:
563
diff
changeset
|
24 exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' |
342 | 25 manifest { |
346
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
26 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version |
342 | 27 } |
346
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
28 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } |
442 | 29 archiveName = 'Alice.jar' |
342 | 30 } |
353 | 31 |
439 | 32 ext { |
617 | 33 mavenRepository = System.getenv()['HTML']+'/maven' |
439 | 34 } |
35 | |
36 uploadArchives { | |
37 repositories { | |
38 mavenDeployer { | |
39 repository(url: uri(mavenRepository)) | |
40 } | |
41 } | |
42 } | |
612 | 43 task AliceTopologyManager(type: Jar) { |
44 exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' | |
45 baseName = "aliceTopologyManager" | |
46 manifest { | |
47 attributes 'Main-Class': 'alice.topology.manager.TopologyManager', | |
48 'Implementation-Title': 'TopologyManager', | |
49 'Implementation-Description': 'Quickstart', | |
50 'Implementation-Version': version, | |
51 'Assembly-Date': new java.util.Date().toString() | |
52 | |
53 } | |
54 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | |
55 with jar | |
56 } |