Mercurial > hg > Database > Alice
annotate build.gradle @ 614:9324ef9728c0 dispose
Alice.iml
author | suruga |
---|---|
date | Mon, 24 Jul 2017 19:15:01 +0900 |
parents | ae13e4854c55 |
children | 82736f6fae50 |
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' | |
613 | 10 version = '1.1' |
11 | |
12 repositories { | |
13 mavenCentral() | |
14 maven { url "http://www.cr.ie.u-ryukyu.ac.jp/maven"} | |
15 } | |
342 | 16 |
17 dependencies { | |
442 | 18 compile fileTree(dir: 'lib', include: '*.jar') |
613 | 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 | |
613 | 23 |
342 | 24 jar { |
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 { |
442 | 33 mavenRepository = System.getenv()['HOME']+'/workspace/maven' |
439 | 34 } |
35 | |
36 uploadArchives { | |
37 repositories { | |
38 mavenDeployer { | |
39 repository(url: uri(mavenRepository)) | |
40 } | |
41 } | |
42 } |