-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (66 loc) · 1.76 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
67
68
69
70
71
72
73
74
75
76
77
78
79
plugins {
id 'net.ltgt.apt' version '0.9'
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'net.ltgt.apt'
group = 'com.github.platform-lunar'
version = '0.1.4'
def digdagVersion = '0.9.13'
repositories {
mavenCentral()
jcenter()
maven {
url "http://dl.bintray.com/digdag/maven"
}
maven {
url 'https://jitpack.io'
}
}
configurations {
provided
}
dependencies {
provided 'io.digdag:digdag-spi:' + digdagVersion
provided 'io.digdag:digdag-standards:' + digdagVersion
provided 'io.digdag:digdag-plugin-utils:' + digdagVersion // this should be 'compile' once digdag 0.8.2 is released to a built-in repository
compile 'com.squareup.okhttp3:okhttp:3.8.1'
compileOnly 'com.fasterxml.jackson.core:jackson-annotations:2.6.7'
compileOnly 'com.fasterxml.jackson.datatype:jackson-datatype-guava:2.6.7'
compileOnly 'org.immutables:value:2.5.5:annotations'
apt 'org.immutables:value:2.5.5'
apt 'com.fasterxml.jackson.core:jackson-annotations:2.6.7'
}
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'
}
}