123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- plugins {
- id 'org.springframework.boot' version '2.3.7.RELEASE'
- id 'io.spring.dependency-management' version '1.0.10.RELEASE'
- id 'java'
- }
- group = 'com.rf'
- version = '0.0.1-SNAPSHOT'
- sourceCompatibility = '1.8'
- configurations {
- compileOnly {
- extendsFrom annotationProcessor
- }
- }
- repositories {
- 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()
- mavenCentral()
- }
- dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-web'
- // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-jpa
- implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.7.1'
- // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation
- implementation 'org.springframework.boot:spring-boot-starter-validation:2.7.0'
- compileOnly 'org.projectlombok:lombok'
- annotationProcessor 'org.projectlombok:lombok'
- testImplementation('org.springframework.boot:spring-boot-starter-test') {
- exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
- }
- // https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter
- implementation group: 'com.alibaba', name: 'druid-spring-boot-starter', version: '1.2.9'
- implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
- // https://mvnrepository.com/artifact/mysql/mysql-connector-java
- implementation 'mysql:mysql-connector-java:8.0.29'
- // https://mvnrepository.com/artifact/com.alibaba/fastjson
- implementation 'com.alibaba:fastjson:1.2.83'
- // https://mvnrepository.com/artifact/com.querydsl/querydsl-jpa
- implementation 'com.querydsl:querydsl-jpa:5.0.0'
- // https://mvnrepository.com/artifact/com.querydsl/querydsl-core
- implementation 'com.querydsl:querydsl-core:5.0.0'
- //关键地方(记得开启annotationProcessor)
- annotationProcessor('com.querydsl:querydsl-apt:5.0.0:jpa',
- "org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final",
- "javax.annotation:javax.annotation-api:1.3.2",
- "org.projectlombok:lombok")
- // https://mvnrepository.com/artifact/com.auth0/java-jwt
- implementation 'com.auth0:java-jwt:3.19.2'
- // https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
- implementation 'org.apache.commons:commons-lang3:3.12.0'
- // https://mvnrepository.com/artifact/com.github.ulisesbocchio/jasypt-spring-boot-starter
- implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.4'
- // https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml
- implementation 'org.apache.poi:poi-ooxml:5.2.2'
- // https://mvnrepository.com/artifact/com.github.xiaoymin/knife4j-spring-boot-starter
- implementation 'com.github.xiaoymin:knife4j-spring-boot-starter:3.0.3'
- // https://mvnrepository.com/artifact/io.springfox/springfox-boot-starter
- implementation 'io.springfox:springfox-boot-starter:3.0.0'
- // https://mvnrepository.com/artifact/io.github.fanyong920/jvppeteer
- implementation "io.github.fanyong920:jvppeteer:1.1.5"
- }
- test {
- useJUnitPlatform()
- }
|