依赖hibernate-validator
This commit is contained in:
parent
2c1a7bc166
commit
504ef169a8
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue