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.
 
 
 
 
 
 

99 lines
3.6 KiB

buildscript {
ext {
springBootVersion = '2.3.0.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { name "Alibaba"; url 'https://maven.aliyun.com/repository/public' }
maven { name "Bstek"; url 'http://nexus.bsdn.org/content/groups/public/' }
maven { name "M2"; url 'https://plugins.gradle.org/m2/' }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation 'org.springframework.boot:spring-boot-configuration-processor'
implementation 'org.springframework.boot:spring-boot-devtools'
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.projectlombok:lombok:1.18.18'
// https://mvnrepository.com/artifact/org.aspectj/aspectjweaver
implementation group: 'org.aspectj', name: 'aspectjweaver', version: '1.9.5'
//implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.3'
//developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation 'org.springframework.security:spring-security-test'
//阿里druid
compile group: 'com.alibaba', name: 'druid-spring-boot-starter', version: '1.1.10'
compile("com.alibaba:fastjson:1.2.30")
compile('org.apache.commons:commons-lang3:3.7')
//poi处理excel表格
compile group: 'org.apache.poi', name: 'poi', version: '4.1.2';
compile group: 'org.apache.poi', name: 'poi-excelant', version: '4.1.2';
compile group: 'org.apache.poi', name: 'poi-scratchpad', version: '4.1.2';
//本地缓存
compile group: 'com.google.guava', name: 'guava', version: '29.0-jre'
//数据库驱动
compile fileTree(dir: 'lib', include: ["*.jar"]);
//邮件的包
compile('org.springframework.boot:spring-boot-starter-mail:2.0.4.RELEASE')
//mybatis-genertor
compile group: 'org.mybatis.generator', name: 'mybatis-generator-core', version: '1.4.0'
compile('com.lowagie:itext:4.2.2')
compile('com.itextpdf:itext-asian:5.2.0')
//cad转pdf
//compile('com.aspose:cad-java-examples')
//cad转pdf
//compile files("lib/aspose-cad-18.3-jdk16.jar")
compile('com.lowagie:itext:4.2.2')
compile('com.itextpdf:itext-asian:5.2.0')
//cad转pdf
//compile('com.aspose:cad-java-examples')
//cad转pdf
compile('commons-net:commons-net:3.6')
// StringUtils
compile 'org.apache.commons:commons-lang3:3.4'
compile('io.springfox:springfox-swagger2:2.8.0')
compile('io.springfox:springfox-swagger-ui:2.8.0')
compile 'io.swagger:swagger-jersey2-jaxrs:1.5.8'
compile('com.mangofactory:swagger-springmvc:1.0.2')
compile('com.mangofactory:swagger-models:1.0.2')
compile('com.wordnik:swagger-annotations:1.3.11')
compile("com.baomidou:mybatis-plus-boot-starter:3.4.0")
}
test {
useJUnitPlatform()
}
sourceSets {
main {
resources {
//可以将java目录下的所有非.java资源打包到classes下
srcDir 'src/main/java'
}
}
}