Mercurial > hg > Database > Alice
comparison build.gradle @ 353:bef74861969a
change dependency
author | sugi |
---|---|
date | Fri, 09 May 2014 14:54:28 +0900 |
parents | d46c42352e4f |
children | d2e243ddcd68 |
comparison
equal
deleted
inserted
replaced
352:b9af321f7f20 | 353:bef74861969a |
---|---|
5 targetCompatibility = 1.6 | 5 targetCompatibility = 1.6 |
6 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' | 6 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' |
7 version = '1.0' | 7 version = '1.0' |
8 | 8 |
9 dependencies { | 9 dependencies { |
10 testCompile group: 'junit', name: 'junit', version: '4.+' | |
11 compile fileTree(dir: 'lib', include: '*.jar') | 10 compile fileTree(dir: 'lib', include: '*.jar') |
12 } | 11 } |
13 | 12 |
14 jar { | 13 jar { |
15 manifest { | 14 manifest { |
16 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version | 15 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version |
17 } | 16 } |
18 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } | 17 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } |
19 archiveName = 'Alice.jar' | 18 archiveName = 'Alice.jar' |
20 } | 19 } |
20 |