Mercurial > hg > Database > Alice
annotate build.gradle @ 555:2af387211a85 dispose
add zippedDataSize to ReceiveData
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2015 02:25:33 +0900 |
parents | 5a9b83c64ddf |
children | 9e35b677932b |
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 |
12 dependencies { | |
442 | 13 compile fileTree(dir: 'lib', include: '*.jar') |
342 | 14 } |
15 | |
16 jar { | |
17 manifest { | |
346
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
18 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version |
342 | 19 } |
346
d46c42352e4f
change images position. It is under src/main/resources
sugi
parents:
342
diff
changeset
|
20 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } |
442 | 21 archiveName = 'Alice.jar' |
342 | 22 } |
353 | 23 |
439 | 24 ext { |
553 | 25 mavenRepository = System.getenv()['HOME']+'/Development/CR/maven' |
439 | 26 } |
27 | |
28 uploadArchives { | |
29 repositories { | |
30 mavenDeployer { | |
31 repository(url: uri(mavenRepository)) | |
32 } | |
33 } | |
34 } |