forked from jReddit/jReddit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
37 lines (29 loc) · 1.07 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
plugins {
id 'java'
id 'maven'
id 'com.github.kt3k.coveralls' version "2.1.0"
id "net.saliman.cobertura" version "2.2.5"
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
group = 'com.github.jreddit'
version = '1.0.4-SNAPSHOT'
description = """jReddit"""
sourceCompatibility = 1.7
targetCompatibility = 1.7
configurations.all {
}
sourceSets.test.resources.srcDirs = ["src/test/resources", "src/test/java"]
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.3'
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.0'
testCompile group: 'commons-validator', name: 'commons-validator', version: '1.4.1'
testCompile group: 'junit', name: 'junit', version: '4.8.1'
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.9.5'
}
cobertura.coverageFormats = ['html', 'xml'] // coveralls plugin depends on xml format report