-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (51 loc) · 1.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
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
repositories {
mavenCentral()
}
sourceSets {
main {
resources {
srcDirs "src/main/resources"
}
}
}
group 'org.martin'
version '1.0'
sourceCompatibility = 1.11
test {
useJUnitPlatform()
}
task runREST(type: JavaExec) {
group = "Run"
description = 'Starts the REST Service'
classpath = sourceSets.main.runtimeClasspath
main = "collatz.restapi.RestController"
}
dependencies {
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.11.0'
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: '1.3.72'
compile group: 'com.sparkjava', name: 'spark-core', version: '2.9.1'
testCompile group: 'org.mockito', name: 'mockito-core', version: '3.4.0'
testCompile group: 'io.rest-assured', name: 'rest-assured', version: '4.3.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
}