依赖hibernate-validator

This commit is contained in:
mazhicheng 2019-10-15 18:04:55 +08:00
parent 2c1a7bc166
commit 504ef169a8
2 changed files with 4 additions and 5 deletions

View File

@ -4,7 +4,6 @@ buildscript {
}
repositories {
mavenLocal() //maven库
maven{ url 'http://maven.diboot.com/repository/diboot'}
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}
dependencies {
@ -30,7 +29,6 @@ subprojects {
[compileJava,compileTestJava,javadoc]*.options*.encoding = 'UTF-8'
repositories {
mavenLocal() //maven库
maven{ url 'http://maven.diboot.com/repository/diboot/'}
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}
ext {//
@ -40,7 +38,7 @@ subprojects {
mybatisPlusVersion = "3.2.0"
fastjsonVersion = "1.2.60"
lombokVersion = "1.18.8"
validatorVersion = "6.0.17.Final"
}
dependencies {
// Gradle 5.0使
@ -60,6 +58,8 @@ subprojects {
compile("mysql:mysql-connector-java:$mysqlConnectorVersion")
// JSON
compile("com.alibaba:fastjson:$fastjsonVersion")
//
compile("org.hibernate.validator:hibernate-validator:$validatorVersion")
// Apache Commons
compile("org.apache.commons:commons-lang3:3.8.1",
"commons-fileupload:commons-fileupload:1.3.3",

View File

@ -1,9 +1,8 @@
apply plugin: 'org.springframework.boot'
dependencies {
// compile project(":diboot-core")
compile project(":diboot-core")
compile("com.diboot:diboot-core-spring-boot-starter:2.0.3")
compile("org.apache.shiro:shiro-spring:1.4.1")
compile("org.aspectj:aspectjweaver")
compile("com.auth0:java-jwt:3.4.1",