Mercurial > hg > Database > Alice
annotate build.gradle @ 357:d2e243ddcd68 multicast
need to change JDK version from JDK6 to JDK8.
author | sugi |
---|---|
date | Tue, 13 May 2014 13:30:08 +0900 |
parents | bef74861969a |
children | 9f6674e503df |
rev | line source |
---|---|
342 | 1 apply plugin: 'java' |
2 apply plugin: 'eclipse' | |
3 | |
357 | 4 sourceCompatibility = 1.8 |
5 targetCompatibility = 1.8 | |
346
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
6 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' |
342 | 7 version = '1.0' |
8 | |
9 dependencies { | |
346
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
10 compile fileTree(dir: 'lib', include: '*.jar') |
342 | 11 } |
12 | |
13 jar { | |
14 manifest { | |
346
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
15 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version |
342 | 16 } |
346
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
17 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } |
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
18 archiveName = 'Alice.jar' |
342 | 19 } |
353 | 20 |