-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
58 lines (47 loc) · 1.46 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
plugins {
id "org.springframework.boot" version "2.2.4.RELEASE"
}
repositories {
mavenCentral()
}
apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "war"
apply plugin: "io.spring.dependency-management"
sourceCompatibility = 1.14
targetCompatibility = 1.14
dependencies {
// Servlet
compile "javax.servlet:javax.servlet-api:4.0.1"
// Spring boot
compile "org.springframework.boot:spring-boot-starter-web:2.2.4.RELEASE"
compile "org.springframework.boot:spring-boot-starter-data-jpa:2.2.4.RELEASE"
compile "org.springframework.boot:spring-boot-starter-test:2.2.4.RELEASE"
compile "org.springframework.boot:spring-boot-starter-security:2.2.4.RELEASE"
// jaxb
compile "jakarta.xml.bind:jakarta.xml.bind-api:2.3.2"
compile "org.glassfish.jaxb:jaxb-runtime:2.3.2"
// JDBC mysql
compile "mysql:mysql-connector-java:8.0.19"
compile "org.postgresql:postgresql:42.2.11"
compile "com.h2database:h2:1.4.200"
// Json
compile "javax.json:javax.json-api:1.1.4"
compile "org.glassfish:javax.json:1.1.4"
// Tests
testImplementation "org.junit.jupiter:junit-jupiter-api:5.3.1"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.3.1"
}
test {
useJUnitPlatform()
}
task javadocPrivate(type: Javadoc) {
source = sourceSets.main.allJava
classpath = configurations.compileClasspath
options {
// Shows private properties too
showAll()
setEncoding "UTF8"
}
}