-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (30 loc) · 889 Bytes
/
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
plugins {
id 'java'
id 'war'
}
group 'com.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
junitVersion = '5.9.2'
}
sourceCompatibility = '11'
targetCompatibility = '11'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
compileOnly('jakarta.platform:jakarta.jakartaee-web-api:9.1.0')
implementation 'org.hibernate:hibernate-core:5.6.9.Final'
implementation 'org.hibernate:hibernate-entitymanager:5.6.9.Final'
implementation 'mysql:mysql-connector-java:8.0.33'
implementation 'javax.persistence:javax.persistence-api:2.2'
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
test {
useJUnitPlatform()}