-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
90 lines (76 loc) · 2.41 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
80
81
82
83
84
85
86
87
88
89
90
description = "Spring Boot example using Hexagonal Architecture and Kotlin"
buildscript {
ext {
kotlinVersion = '1.2.10'
springBootVersion = '1.5.7.RELEASE'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
classpath("org.jetbrains.kotlin:kotlin-allopen:${kotlinVersion}")
}
}
ext['jackson.version'] = '2.9.2'
allprojects {
apply plugin: 'kotlin'
apply plugin: 'kotlin-spring'
apply plugin: 'org.springframework.boot'
group = 'io.pileworx.hex'
version = '0.0.1-SNAPSHOT'
repositories {
jcenter()
mavenLocal()
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}")
compile("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
compile("org.springframework.boot:spring-boot-starter-data-couchbase")
compile("org.springframework.boot:spring-boot-starter-hateoas")
compile("org.springframework.boot:spring-boot-starter-security")
compile("org.springframework.boot:spring-boot-starter-aop:")
compile("org.springframework.boot:spring-boot-starter-amqp")
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-actuator")
compile('javax.inject:javax.inject:1')
testCompile("org.springframework.boot:spring-boot-starter-test:")
}
springBoot {
executable = true
buildInfo {
additionalProperties = [
'buildNumber': project.hasProperty("buildNumber") ? buildNumber : "DEV"
]
}
}
}
dependencies {
compile project(':pileworx-hex-port')
compile ("org.springframework.boot:spring-boot-starter-logging")
}
project('pileworx-hex-port') {
dependencies {
compile project(':pileworx-hex-app')
}
}
project('pileworx-hex-app') {
dependencies {
compile project(':pileworx-hex-domain')
}
}
project('pileworx-hex-domain') {
dependencies {
compile project(':pileworx-hex-common')
compile("com.fasterxml.jackson.module:jackson-module-kotlin")
}
}
project('pileworx-hex-common')
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
}