-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (51 loc) · 2.08 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
plugins {
id 'org.springframework.boot' version '2.5.6'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'java-library'
id 'eclipse'
}
project.ext {
springSecurityVersion = '5.3.3.RELEASE'
}
group = 'com.devteam'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
compileJava.options.encoding = 'UTF-8'
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/plugins-release" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation'org.springframework.boot:spring-boot-starter-security'
implementation'org.springframework.boot:spring-boot-starter-web'
implementation"org.springframework.boot:spring-boot-starter-actuator"
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
implementation 'org.springframework.boot:spring-boot-starter-jersey'
implementation 'org.springframework.boot:spring-boot-devtools'
implementation 'com.zaxxer:HikariCP:5.0.0'
implementation 'org.springframework.integration:spring-integration-core:5.5.5'
implementation 'org.springframework:spring-messaging:5.3.10'
implementation group: "com.h2database", name: "h2", version: '1.4.200'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation group: 'org.modelmapper', name: 'modelmapper', version: '2.4.4'
implementation 'mysql:mysql-connector-java:5.1.48'
implementation 'org.postgresql:postgresql:42.3.1'
implementation 'javax.xml.bind:jaxb-api:2.3.0'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
test {
useJUnitPlatform()
}
bootRun {
String activeProfile = System.properties['spring.profiles.active']
systemProperty "spring.profiles.active", activeProfile
}