-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (52 loc) · 1.89 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
69
plugins {
id 'org.springframework.boot' version '2.5.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'jacoco'
id "nebula.lint" version "17.3.0"
}
jacoco {
toolVersion = "0.8.5"
}
repositories {
mavenLocal()
mavenCentral()
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
def junitJupiterVersion = '5.4.2'
dependencies {
implementation 'org.projectlombok:lombok:1.18.22'
implementation 'org.springframework.boot:spring-boot-starter-web:2.5.6'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.5.6'
implementation 'mysql:mysql-connector-java:8.0.25'
implementation 'org.springframework.boot:spring-boot-starter-security'
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitJupiterVersion"
testImplementation "org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion"
testImplementation "org.testcontainers:testcontainers:1.16.2"
testImplementation "org.testcontainers:junit-jupiter:1.16.2"
testImplementation "org.testcontainers:mysql:1.16.2"
implementation 'io.springfox:springfox-boot-starter:3.0.0'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
implementation 'org.springframework.boot:spring-boot-starter-security:2.5.3'
implementation 'org.springframework.security:spring-security-core:5.5.2'
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2', 'io.jsonwebtoken:jjwt-jackson:0.11.2'
implementation 'javax.validation:validation-api:2.0.1.Final'
}
test {
useJUnitPlatform()
}
jacocoTestReport {
dependsOn test
}
apply plugin: 'nebula.lint'
autoLintGradle {
gradleLint.rules = ['all-dependency']
}
apply plugin: 'application'
mainClassName = 'com.hse.boards.Main'
run {
standardInput = System.in
}