This repository has been archived by the owner on Dec 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle.kts
74 lines (62 loc) · 2.09 KB
/
build.gradle.kts
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
import com.bmuschko.gradle.docker.DockerExtension
import com.bmuschko.gradle.docker.DockerJavaApplication
buildscript {
repositories {
gradleScriptKotlin()
jcenter()
}
dependencies {
classpath(kotlinModule("gradle-plugin"))
classpath("com.bmuschko:gradle-docker-plugin:3.2.2")
classpath("com.github.ben-manes:gradle-versions-plugin:0.15.0")
}
}
apply {
plugin("kotlin")
plugin("application")
plugin("com.bmuschko.docker-java-application")
plugin("com.github.ben-manes.versions")
}
version = "1.8-SNAPSHOT"
group = "in.tazj.k8s"
configure<ApplicationPluginConvention> {
mainClassName = "in.tazj.k8s.letsencrypt.MainKt"
}
configure<DockerExtension> {
with(getProperty("javaApplication") as DockerJavaApplication) {
baseImage = "java:8"
tag = "tazjin/letsencrypt-controller:${version}"
}
}
dependencies {
compile(kotlinModule("stdlib"))
}
repositories {
gradleScriptKotlin()
mavenCentral()
jcenter()
}
dependencies {
compile(kotlinModule("stdlib"))
compile(kotlinModule("reflect"))
compile("io.fabric8", "kubernetes-client", "2.5.2")
compile("com.google.code.gson", "gson", "2.8.1")
compile("com.amazonaws", "aws-java-sdk-route53", "1.11.160") {
// Prevent AWS SDK from dragging in unwanted (unstructured) logging
exclude(group = "commons-logging")
}
compile("org.shredzone.acme4j", "acme4j-client", "1.0")
compile("org.shredzone.acme4j", "acme4j-utils", "1.0")
compile("dnsjava", "dnsjava", "2.1.8")
compile("com.google.cloud", "google-cloud-dns", "0.8.0")
compile("org.funktionale", "funktionale-option", "1.1")
// Structured logging
compile("org.slf4j", "slf4j-api", "1.7.25")
compile("ch.qos.logback", "logback-classic", "1.2.3")
compile("net.logstash.logback", "logstash-logback-encoder", "4.11")
compile("org.slf4j", "jcl-over-slf4j", "1.7.25")
// Test dependencies
testCompile("junit", "junit", "4.12")
testCompile("org.mockito", "mockito-core", "2.8.47")
testCompile("com.nhaarman", "mockito-kotlin", "1.5.0")
}