-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (58 loc) · 2.05 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.6.14'
id 'io.spring.dependency-management' version '1.1.0'
id "io.freefair.lombok" version "8.0.1"
id "org.sonarqube" version "3.5.0.2730"
}
group = 'winterdevcamp'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.5'
//implementation 'io.springfox:springfox-boot-starter:3.0.0'
implementation 'io.springfox:springfox-swagger-ui:3.0.0'
implementation 'io.springfox:springfox-swagger2:3.0.0'
implementation 'org.springframework.boot:spring-boot-starter'
runtimeOnly 'com.h2database:h2'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.slf4j:slf4j-api'
implementation 'com.mysql:mysql-connector-j'
implementation 'io.jsonwebtoken:jjwt-api:0.11.4'
implementation 'org.javassist:javassist:3.29.2-GA'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.4'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.4'
testImplementation ('org.springframework.boot:spring-boot-starter-test'){
exclude group : 'org.junit.vintage', module : 'junit-vintage-engine'
}
testImplementation 'org.springframework.security:spring-security-test'
}
tasks.named('test') {
useJUnitPlatform()
}
sonarqube {
properties {
property "sonar.projectKey", "likelasttime_Auth-Service"
property "sonar.organization", "likelasttime"
property "sonar.host.url", "https://sonarcloud.io"
}
}
task copyPrivate(type: Copy) {
copy {
from 'Auth-service-sub'
include "*.yml"
into 'src/main/resources'
from 'Auth-service-sub'
include ".env"
into '.'
}
}