-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
31 lines (26 loc) · 1.03 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
plugins {
id 'org.springframework.boot' version '2.6.7'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.Task4'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'mysql:mysql-connector-java'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation('org.springframework.boot:spring-boot-starter-validation')
// https://mvnrepository.com/artifact/org.hibernate.validator/hibernate-validator
//implementation group: 'org.hibernate.validator', name: 'hibernate-validator', version: '8.0.0.Alpha3'
// https://mvnrepository.com/artifact/javax.validation/validation-api
//implementation group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final'
}
tasks.named('test') {
useJUnitPlatform()
}