-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
34 lines (27 loc) · 1.05 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
apply plugin: 'nebula.kotlin'
junitPlatform {
engines {
include 'spek'
}
}
dependencies {
// compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
compile "org.mybatis.spring.boot:mybatis-spring-boot-starter:$mybatisBootVersion"
compile "org.springframework.boot:spring-boot-starter-web"
compile "org.springframework.cloud:spring-cloud-starter-bus-kafka"
// compile "org.springframework.cloud:spring-cloud-starter-config"
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
// compile "org.springframework.boot:spring-boot-devtools"
// runtime "mysql:mysql-connector-java"
runtime "com.h2database:h2"
testCompile "com.nhaarman:mockito-kotlin:$mockitoKotlinVersion"
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlinVersion" //Assertion Framework
testCompile "org.jetbrains.spek:spek-api:$spekVersion"
testRuntime "org.jetbrains.spek:spek-junit-platform-engine:$spekVersion"
}
bootRepackage {
it.mustRunAfter clean
}
task 8084 << {
bootRun.systemProperty 'server.port', '8084'
}