21
|
1 apply plugin: 'java'
|
|
2 apply plugin: 'maven'
|
|
3 apply plugin: "eclipse"
|
22
|
4 apply plugin: 'idea'
|
21
|
5
|
|
6 group = 'jungle-bench'
|
|
7 version = '0.0.1-SNAPSHOT'
|
|
8
|
|
9 description = """"""
|
|
10
|
|
11 sourceCompatibility = 1.8
|
|
12 targetCompatibility = 1.8
|
|
13
|
|
14
|
|
15
|
|
16 repositories {
|
22
|
17
|
|
18 maven { url "http://repo.maven.apache.org/maven2" }
|
21
|
19 }
|
|
20 dependencies {
|
22
|
21 compile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.0.0'
|
|
22 compile group: 'junit', name: 'junit', version: '4.7'
|
|
23 compile fileTree(dir: 'lib', include: '*.jar')
|
21
|
24 }
|
|
25
|
|
26 jar {
|
|
27 manifest {
|
22
|
28 attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
|
|
29 }
|
|
30 from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
31 archiveName = 'jungle-bench.jar'
|
21
|
32 }
|
|
33
|