-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
69 lines (61 loc) · 2.35 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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'org.springframework.boot' version '2.4.1'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
id 'maven-publish'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
jcenter()
mavenCentral()
}
dependencies {
compile group: 'org.hibernate', name: 'hibernate-validator', version: '7.0.0.Final'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.4.0'
implementation 'org.mockito:mockito-core:3.6.0'
implementation 'com.h2database:h2:1.4.200'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
implementation 'org.springframework.boot:spring-boot-starter-jdbc:2.4.0'
implementation 'org.springframework.boot:spring-boot-starter-web:2.4.0'
implementation 'org.liquibase:liquibase-core:3.10.3'
implementation 'org.springframework.boot:spring-boot-configuration-processor:2.3.4.RELEASE'
implementation "io.springfox:springfox-boot-starter:3.0.0"
implementation 'org.springframework.boot:spring-boot-starter-amqp'
implementation 'org.springframework.boot:spring-boot-starter-security'
runtimeOnly 'org.postgresql:postgresql:42.2.18'
def junitJupiterVersion = '5.7.0'
testCompile "org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion"
testCompile "org.junit.jupiter:junit-jupiter-params:$junitJupiterVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion"
testCompile "org.testcontainers:testcontainers:1.15.1"
testCompile "org.testcontainers:junit-jupiter:1.15.1"
testCompile "org.testcontainers:postgresql:1.15.1"
testCompile('com.github.fridujo:rabbitmq-mock:1.1.1')
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.4.0'
testImplementation 'org.springframework.amqp:spring-rabbit-test'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
description = 'datanor'
java.sourceCompatibility = JavaVersion.VERSION_14
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
}