-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.bak
76 lines (62 loc) · 1.73 KB
/
build.gradle.bak
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
buildscript {
ext {
lombokVersion = "1.16.18"
slf4jVersion = "1.7.25"
javaVersion = "1.8"
scalaCompatVersion = "2.11"
scalaVersion = "${scalaCompatVersion}.8"
scalatestVersion = "${scalaCompatVersion}:3.0.4"
}
}
plugins {
id "idea"
id "java"
id "scala"
id "maven"
id "eclipse"
id "application"
id "com.github.johnrengelman.shadow" version "2.0.2"
id "com.avast.gradle.docker-compose" version "0.6.12"
}
group = "daggerok"
version = "0.0.1"
sourceCompatibility = targetCompatibility = "$javaVersion"
mainClassName = "daggerok.App"
shadowJar.mustRunAfter jar
defaultTasks "clean", "build"
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile "org.slf4j:slf4j-api:$slf4jVersion"
// compile "org.slf4j:slf4j-jdk14:$slf4jVersion"
compile "org.slf4j:jul-to-slf4j:$slf4jVersion"
compile "org.slf4j:log4j-over-slf4j:$slf4jVersion"
compile "ch.qos.logback:logback-classic:1.2.3"
compileOnly "org.projectlombok:lombok:$lombokVersion"
testCompile "junit:junit:4.12"
testCompileOnly "org.projectlombok:lombok:$lombokVersion"
compile "org.scala-lang:scala-library:$scalaVersion"
testCompile "org.scalactic:scalactic_$scalatestVersion"
testCompile "org.scalatest:scalatest_$scalatestVersion"
testCompile "org.specs2:specs2-junit_${scalaCompatVersion}:3.7"
}
dockerCompose {
useComposeFiles = [project.file("docker-compose-gradle.yaml")]
captureContainersOutput = true
stopContainers = true
removeContainers = true
removeImages = "Local"
removeVolumes = true
removeOrphans = true
projectName = project.name
}
composeUp.dependsOn assemble
task wrapper(type: Wrapper) {
gradleVersion = "4.5"
distributionType = "ALL"
}
test {
systemProperties "property": "value"
}