-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
66 lines (56 loc) · 1.44 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'idea'
group = 'io.digdag.plugin'
version = '0.1.5'
def digdagVersion = '0.9.24'
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url 'https://dl.bintray.com/digdag/maven'
}
}
configurations {
provided
}
dependencies {
compile 'com.squareup.okhttp3:okhttp:3.8.1'
provided 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.1'
provided 'io.digdag:digdag-spi:' + digdagVersion
provided 'io.digdag:digdag-plugin-utils:' + digdagVersion // this should be 'compile' instead of 'provided' once digdag 0.8.18 is released to one of the built-in repositories (maven central or jcenter)
}
sourceSets {
main {
compileClasspath += configurations.provided
test.compileClasspath += configurations.provided
test.runtimeClasspath += configurations.provided
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
url "$buildDir/repo"
}
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
javadoc {
options {
locale = 'en_US'
encoding = 'UTF-8'
}
}