-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
executable file
·68 lines (59 loc) · 2.53 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
buildscript {
ext {
kotlinVersion = '1.3.21'
springBootVersion = '2.1.2.RELEASE'
}
repositories {
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"
}
}
apply plugin: 'idea'
apply plugin: 'kotlin'
apply plugin: 'groovy'
//apply plugin: 'kotlin-spring'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
repositories {
jcenter()
mavenCentral()
maven { url 'https://jitpack.io' } // for Spock 1.3
}
group = 'pl.braintelligence'
sourceCompatibility = JavaVersion.VERSION_1_10
targetCompatibility = JavaVersion.VERSION_1_10
dependencies {
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlin:kotlin-reflect"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.+"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1'
implementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo:2.2.0'
implementation 'io.arrow-kt:arrow-core:0.8.2'
// Spring
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation "org.springframework.boot:spring-boot-starter-data-mongodb"
// Commons, utils
implementation 'org.apache.commons:commons-lang3:3.7'
implementation 'org.apache.commons:commons-collections4:4.1'
implementation 'org.apache.httpcomponents:httpclient:4.5.6'
implementation "io.vavr:vavr:0.9.3"
// Tests
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
testImplementation 'org.spockframework:spock-spring:1.3-groovy-2.5'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'com.github.tomakehurst:wiremock:2.21.0'
testImplementation 'com.tngtech.archunit:archunit:0.10.1'
testImplementation 'com.tngtech.archunit:archunit-junit5-api:0.9.3'
testImplementation 'com.tngtech.archunit:archunit-junit5-engine:0.9.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.junit.jupiter:junit-jupiter-params'
testImplementation group: 'org.awaitility', name: 'awaitility-groovy', version: '3.1.0'
testRuntime 'org.junit.jupiter:junit-jupiter-engine'
testRuntime 'org.junit.platform:junit-platform-engine'
}