|
@@ -1,23 +1,49 @@
|
|
|
buildscript {
|
|
|
ext {
|
|
|
-// queryDslVersion = '4.2.1'
|
|
|
- queryDslVersion = '5.0.0'
|
|
|
+ queryDslVersion = '4.2.1'
|
|
|
lombokVersion = '1.18.12'
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
plugins {
|
|
|
-
|
|
|
- id 'org.springframework.boot' version '2.6.13'
|
|
|
- id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
|
|
+ id 'org.springframework.boot' version '2.4.2'
|
|
|
+ id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
|
id 'java'
|
|
|
}
|
|
|
|
|
|
-group = 'com.zzys'
|
|
|
-version = '0.0.1-SNAPSHOT'
|
|
|
-sourceCompatibility = '1.8'
|
|
|
+group = 'com.zzedu'
|
|
|
+version = 'v1.0'
|
|
|
+sourceCompatibility = '8'
|
|
|
+
|
|
|
+configurations {
|
|
|
+ compileOnly {
|
|
|
+ extendsFrom annotationProcessor
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
repositories {
|
|
|
- mavenCentral()
|
|
|
+ maven {
|
|
|
+ url 'https://maven.aliyun.com/repository/public'
|
|
|
+ }
|
|
|
+ maven {
|
|
|
+ credentials {
|
|
|
+ username '0p07qf'
|
|
|
+ password 'z1XwdFEf4M'
|
|
|
+ }
|
|
|
+ url 'https://repo.rdc.aliyun.com/repository/107260-release-GqdtcU/'
|
|
|
+ }
|
|
|
+ maven {
|
|
|
+ credentials {
|
|
|
+ username '0p07qf'
|
|
|
+ password 'z1XwdFEf4M'
|
|
|
+ }
|
|
|
+ url 'https://repo.rdc.aliyun.com/repository/107260-snapshot-C6ziam/'
|
|
|
+ }
|
|
|
+ maven {
|
|
|
+ url "https://plugins.gradle.org/m2/"
|
|
|
+ }
|
|
|
+ mavenLocal()
|
|
|
}
|
|
|
|
|
|
dependencies {
|
|
@@ -25,20 +51,13 @@ dependencies {
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
-// testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
-//// classpath "gradle.plugin.com.ewerk.gradle.plugins:querydsl-plugin:1.0.10"
|
|
|
-// // https://mvnrepository.com/artifact/com.querydsl/querydsl-apt
|
|
|
-// compile group: 'com.querydsl', name: 'querydsl-apt', version: '4.2.1'
|
|
|
- // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation
|
|
|
- implementation 'org.springframework.boot:spring-boot-starter-validation:2.6.3'
|
|
|
|
|
|
-// // https://mvnrepository.com/artifact/org.springframework.data/spring-data-commons
|
|
|
-// compile group: 'org.springframework.data', name: 'spring-data-commons', version: '2.4.1'
|
|
|
+ // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation
|
|
|
+ implementation 'org.springframework.boot:spring-boot-starter-validation:2.5.4'
|
|
|
// https://mvnrepository.com/artifact/mysql/mysql-connector-java
|
|
|
implementation 'mysql:mysql-connector-java:8.0.21'
|
|
|
-
|
|
|
-// compile group: 'com.querydsl', name: 'querydsl-jpa', version: '4.2.1'
|
|
|
-// compile group: 'com.querydsl', name: 'querydsl-apt', version: '4.2.1'
|
|
|
+ // https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter
|
|
|
+ implementation group: 'com.alibaba', name: 'druid-spring-boot-starter', version: '1.2.9'
|
|
|
// QueryDSL
|
|
|
implementation("com.querydsl:querydsl-core:${queryDslVersion}")
|
|
|
implementation("com.querydsl:querydsl-jpa:${queryDslVersion}")
|
|
@@ -52,73 +71,33 @@ dependencies {
|
|
|
compileOnly "org.projectlombok:lombok:${lombokVersion}"
|
|
|
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
|
|
|
implementation("org.projectlombok:lombok:${lombokVersion}")
|
|
|
- // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-test
|
|
|
- testImplementation 'org.springframework.boot:spring-boot-starter-test:2.6.3'
|
|
|
-
|
|
|
// https://mvnrepository.com/artifact/com.alibaba/fastjson
|
|
|
- implementation 'com.alibaba:fastjson:1.2.83'
|
|
|
+ implementation 'com.alibaba:fastjson:1.2.76'
|
|
|
// https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml
|
|
|
implementation 'org.apache.poi:poi-ooxml:3.17'
|
|
|
-
|
|
|
// https://mvnrepository.com/artifact/commons-lang/commons-lang
|
|
|
implementation 'commons-lang:commons-lang:2.6'
|
|
|
-
|
|
|
- implementation group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0'
|
|
|
-
|
|
|
- // https://mvnrepository.com/artifact/io.swagger/swagger-annotations
|
|
|
- implementation group: 'io.swagger', name: 'swagger-annotations', version: '1.5.22'
|
|
|
- implementation group: 'io.swagger', name: 'swagger-models', version: '1.5.22'
|
|
|
-
|
|
|
// https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload
|
|
|
implementation group: 'commons-fileupload', name: 'commons-fileupload', version: '1.3.1'
|
|
|
- // https://mvnrepository.com/artifact/com.github.qcloudsms/qcloudsms
|
|
|
- implementation group: 'com.github.qcloudsms', name: 'qcloudsms', version: '1.0.6'
|
|
|
- // https://mvnrepository.com/artifact/cn.keking.project/kk-anti-reptile
|
|
|
+// https://mvnrepository.com/artifact/cn.keking.project/kk-anti-reptile
|
|
|
implementation group: 'cn.keking.project', name: 'kk-anti-reptile', version: '1.0.0-RELEASE'
|
|
|
- // https://mvnrepository.com/artifact/com.belerweb/pinyin4j
|
|
|
- implementation group: 'com.belerweb', name: 'pinyin4j', version: '2.5.1'
|
|
|
- // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-websocket
|
|
|
+// https://mvnrepository.com/artifact/com.github.qcloudsms/qcloudsms
|
|
|
+ implementation group: 'com.github.qcloudsms', name: 'qcloudsms', version: '1.0.6'
|
|
|
+// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-websocket
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-websocket:2.5.5'
|
|
|
- //https://mvnrepository.com/artifact/org.java-websocket/Java-WebSocket
|
|
|
- //implementation 'org.java-websocket:Java-WebSocket:1.3.0'
|
|
|
- // https://mvnrepository.com/artifact/org.java-websocket/Java-WebSocket
|
|
|
- implementation 'org.java-websocket:Java-WebSocket:1.5.1'
|
|
|
- //https://github.com/auth0/java-jwt
|
|
|
- // 添加jwt
|
|
|
+// https://mvnrepository.com/artifact/org.java-websocket/Java-WebSocket
|
|
|
+ implementation 'org.java-websocket:Java-WebSocket:1.3.0'
|
|
|
+ // https://mvnrepository.com/artifact/com.github.xiaoymin/knife4j-openapi2-spring-boot-starter
|
|
|
+ implementation 'com.github.xiaoymin:knife4j-openapi2-spring-boot-starter:4.0.0'
|
|
|
+ // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis
|
|
|
+ implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis', version: '2.6.3'
|
|
|
implementation 'com.auth0:java-jwt:3.18.2'
|
|
|
- // https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter
|
|
|
- implementation group: 'com.alibaba', name: 'druid-spring-boot-starter', version: '1.2.9'
|
|
|
- // https://mvnrepository.com/artifact/junit/junit
|
|
|
- testImplementation group: 'junit', name: 'junit', version: '4.13.2'
|
|
|
- // https://mvnrepository.com/artifact/io.github.fanyong920/jvppeteer
|
|
|
- implementation "io.github.fanyong920:jvppeteer:1.1.5"
|
|
|
-
|
|
|
// https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on
|
|
|
- implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
|
|
|
+ implementation 'org.bouncycastle:bcprov-jdk15on:1.57'
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- //wxpay
|
|
|
- // https://mvnrepository.com/artifact/com.github.wxpay/wxpay-sdk
|
|
|
- //implementation group: 'com.github.wxpay', name: 'wxpay-sdk', version: '0.0.3'
|
|
|
-
|
|
|
- implementation 'com.github.wechatpay-apiv3:wechatpay-apache-httpclient:0.4.7'
|
|
|
-
|
|
|
- // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-configuration-processor
|
|
|
- implementation group: 'org.springframework.boot', name: 'spring-boot-configuration-processor', version: '2.6.8'
|
|
|
-
|
|
|
- // https://mvnrepository.com/artifact/com.google.code.gson/gson
|
|
|
- implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
|
|
|
-
|
|
|
- // https://mvnrepository.com/artifact/cn.hutool/hutool-all
|
|
|
- implementation group: 'cn.hutool', name: 'hutool-all', version: '5.7.18'
|
|
|
-
|
|
|
- //redis
|
|
|
- // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis
|
|
|
- implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis', version: '2.6.3'
|
|
|
}
|
|
|
|
|
|
-tasks.named('test') {
|
|
|
+test {
|
|
|
useJUnitPlatform()
|
|
|
}
|