Mercurial > hg > Members > tatsuki > Alice
annotate build.gradle @ 392:3c42be3e8e3a draft multicast
test commit
author | test |
---|---|
date | Tue, 17 Jun 2014 10:56:21 +0900 |
parents | d2e243ddcd68 |
children |
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 |