-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (43 loc) · 1.27 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
plugins {
id 'java'
id 'application'
id 'org.springframework.boot' version '2.0.4.RELEASE'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
// Writing compact code - Lombok
id 'io.freefair.lombok' version '5.3.0'
}
group = 'com.chess'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
jar {
manifest {
attributes "Main-Class": "FizzBuzzProcessor"
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
application {
mainClassName = 'FizzBuzzProcessor'
}
dependencies {
// logging
compile 'log4j:log4j:1.2.17'
// spring boot - microservices
implementation 'org.springframework.boot:spring-boot-starter'
// testing
testImplementation 'org.junit.jupiter:junit-jupiter-engine'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testCompile("org.assertj:assertj-core:3.13.2")
// From the react js tutorial
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
runtimeOnly 'com.h2database:h2'
}
test {
useJUnitPlatform()
}