You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
2.1 KiB
63 lines
2.1 KiB
plugins {
|
|
id 'org.springframework.boot' version '2.2.4.RELEASE'
|
|
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'cn.pelerin'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '1.8'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
|
|
maven { url 'https://maven.aliyun.com/nexus/content/repositories/central/' }
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation ('org.springframework.boot:spring-boot-starter-web') {
|
|
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-json'
|
|
}
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.0'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
|
implementation 'com.baomidou:mybatis-plus-boot-starter:3.4.0'
|
|
implementation 'com.alibaba:druid-spring-boot-starter:+'
|
|
implementation 'com.alibaba:fastjson:1.2.83'
|
|
implementation 'com.google.guava:guava:+'
|
|
implementation 'org.apache.commons:commons-lang3:+'
|
|
implementation 'org.apache.commons:commons-collections4:4.1'
|
|
|
|
//openfeign
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:2.2.6.RELEASE'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-config:2.2.6.RELEASE'
|
|
|
|
// 代码生成
|
|
implementation 'com.baomidou:mybatis-plus-generator:3.4.0'
|
|
implementation 'org.apache.velocity:velocity-engine-core:2.2'
|
|
|
|
//pagehelper
|
|
implementation 'com.github.pagehelper:pagehelper-spring-boot-starter:1.3.1'
|
|
|
|
implementation 'io.jsonwebtoken:jjwt:0.9.1'
|
|
implementation 'com.auth0:java-jwt:3.18.1'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
}
|
|
|
|
// 支付第三方jar
|
|
compile fileTree(dir: 'lib', includes: ['commons-code-1.9.jar'])
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|