comparison build.gradle @ 21:c8d8864714d4

add build.gradle
author tatsuki
date Tue, 28 Apr 2015 08:16:08 +0900
parents
children 306441e23b8b
comparison
equal deleted inserted replaced
20:195c1a644550 21:c8d8864714d4
1 apply plugin: 'java'
2 apply plugin: 'maven'
3 apply plugin: "eclipse"
4
5 group = 'jungle-bench'
6 version = '0.0.1-SNAPSHOT'
7
8 description = """"""
9
10 sourceCompatibility = 1.8
11 targetCompatibility = 1.8
12
13
14
15 repositories {
16
17 maven { url "http://repo.maven.apache.org/maven2" }
18 }
19 dependencies {
20 compile group: 'junit', name: 'junit', version:'4.7'
21 compile fileTree(dir: 'lib', include: '*.jar')
22 }
23
24 jar {
25 manifest {
26 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
27 }
28 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
29 archiveName = 'jungle-bench.jar'
30 }
31