-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (43 loc) · 1.44 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.2.41'
id 'org.jetbrains.kotlin.plugin.spring' version '1.2.41'
id 'io.spring.dependency-management' version '1.0.6.RELEASE'
id 'groovy'
id 'idea'
}
ext {
springBootVersion = '2.0.6.RELEASE'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = "1.8"
}
}
repositories {
mavenCentral()
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
}
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter')
implementation('org.springframework.kafka:spring-kafka')
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.jetbrains.kotlin:kotlin-reflect")
compileOnly('org.springframework.boot:spring-boot-configuration-processor')
testImplementation('org.springframework.boot:spring-boot-test')
testImplementation('org.springframework.kafka:spring-kafka-test')
testImplementation('org.spockframework:spock-core:1.1-groovy-2.4')
testImplementation('org.spockframework:spock-spring:1.1-groovy-2.4')
testImplementation ('org.hamcrest:hamcrest-core')
}
task wrapper(type: Wrapper) {
gradleVersion = '4.10.2'
distributionUrl = "http://services.gradle.org/distributions/gradle-${gradleVersion}-bin.zip"
}