-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
49 lines (41 loc) · 1.24 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
apply plugin: 'java'
apply plugin: 'idea'
//apply plugin: 'jetty'
//apply plugin: 'war'
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '1.0'
group = "com.dawanda"
repositories {
mavenCentral()
}
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
manifest {
attributes 'Main-Class': 'com.dawanda.Main', 'Implementation-Title': 'cbayes', 'Implementation-Version': version
}
}
ext {
junitVersion = "4.11"
guavaVersion = "18.0"
mysqlConnVersion = "5.1.34"
luceneVersion = "4.10.2"
jacksonVersion = "2.4.4"
logbackVersion = "1.1.2"
mockitoVersion = "1.9.5"
jcommanderVersion = "1.35"
}
dependencies {
compile("com.google.guava:guava:${guavaVersion}")
compile("mysql:mysql-connector-java:${mysqlConnVersion}")
compile("org.apache.lucene:lucene-analyzers-common:${luceneVersion}")
compile('org.codehaus.jackson:jackson-mapper-asl:1.9.13')
compile("ch.qos.logback:logback-classic:${logbackVersion}")
compile("com.beust:jcommander:${jcommanderVersion}")
compile('c3p0:c3p0:0.9.1.2')
testCompile("org.mockito:mockito-core:${mockitoVersion}")
testCompile("junit:junit:${junitVersion}")
}
//jettyRunWar.contextPath = ''