-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
40 lines (30 loc) · 1.01 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
group = 'com.jordi9'
version = '1.0-SNAPHSOT'
sourceCompatibility=1.6
targetCompatibility=1.6
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenCentral()
}
dependencies {
def guiceVersion = '3.0'
def googleHttpClientVersion = '1.12.0-beta'
compile "com.google.inject:guice:${guiceVersion}"
compile "com.google.inject.extensions:guice-multibindings:${guiceVersion}"
compile "com.google.guava:guava:13.0.1"
compile "com.google.http-client:google-http-client:${googleHttpClientVersion}"
compile "com.google.http-client:google-http-client-jackson2:${googleHttpClientVersion}"
testCompile "org.hamcrest:hamcrest-all:1.3"
testCompile "org.mockito:mockito-all:1.9.5"
testCompile 'junit:junit:4.11'
}
task runExample01(dependsOn: 'classes', type: JavaExec) {
main = 'com.jordi9.guice.ShowtimesLauncher'
classpath = sourceSets.main.runtimeClasspath
}
task wrapper(type: Wrapper) {
gradleVersion = '1.3'
}