-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·43 lines (35 loc) · 1.25 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
apply plugin: 'java'
apply plugin: 'application'
mainClassName = 'org.kpmp.GenerateDTD'
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '1.0'
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.api-client:google-api-client:1.23.0'
compile 'com.google.oauth-client:google-oauth-client-jetty:1.23.0'
compile 'com.google.apis:google-api-services-sheets:v4-rev516-1.23.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.8'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.9.8'
compile 'org.apache.commons:commons-lang3:3.0'
compile 'org.slf4j:slf4j-simple:1.6.1'
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:1.+"
testCompile 'uk.org.lidalia:slf4j-test:1.1.0'
}
configurations.testCompile {
exclude group: "org.slf4j", module: 'slf4j-simple'
}
test {
exclude '**/MetadataSheetValidatorTest.class'
}
task(runGenerateDTD, dependsOn: 'classes', type: JavaExec) {
main = 'org.kpmp.GenerateDTD'
classpath = sourceSets.main.runtimeClasspath
}
task(runValidateMetatdataSheet, dependsOn: 'classes', type: JavaExec) {
main = 'org.kpmp.ValidateMetadataSheet'
classpath = sourceSets.main.runtimeClasspath
}