annotate build.gradle @ 392:3c42be3e8e3a draft multicast

test commit
author test
date Tue, 17 Jun 2014 10:56:21 +0900
parents d2e243ddcd68
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
342
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
1 apply plugin: 'java'
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
2 apply plugin: 'eclipse'
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
3
357
d2e243ddcd68 need to change JDK version from JDK6 to JDK8.
sugi
parents: 353
diff changeset
4 sourceCompatibility = 1.8
d2e243ddcd68 need to change JDK version from JDK6 to JDK8.
sugi
parents: 353
diff changeset
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
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
7 version = '1.0'
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
8
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
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
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
11 }
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
12
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
13 jar {
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
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
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
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
c81dff5460b0 add build.gradle
sugi
parents:
diff changeset
19 }
353
bef74861969a change dependency
sugi
parents: 346
diff changeset
20