forked from fractalliter/bank-account-transactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (29 loc) · 1.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
plugins {
id 'org.springframework.boot' version '2.6.7'
id 'org.springdoc.openapi-gradle-plugin' version '1.6.0'
id 'io.spring.dependency-management' version '1.1.3'
id 'java'
}
group = 'com.bank-transaction'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-amqp'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2'
implementation 'org.springframework.boot:spring-boot-starter-aop:2.6.7'
implementation 'org.springdoc:springdoc-openapi-ui:1.7.0'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'org.postgresql:postgresql'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.amqp:spring-rabbit-test'
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.build.configure {
System.setProperty("spring.profiles.active", "${System.getenv("PROFILE")}")
}