代码拉取完成,页面将自动刷新
plugins {
id 'org.springframework.boot' version '2.5.14'
id 'io.spring.dependency-management' version '1.1.3'
id 'java'
id 'war'
}
jar {
//指定包含的文件
from('src/main/java') {
include '/**/*.xml'
}
from('src/main/java') {
include '/**/*.properties'
}
}
war{
from('src/main/java') {
include '/**/*.properties'
}
}
group 'cc.eguid.simpleScheduler'
version '1.0-SNAPSHOT'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/spring/' }
maven { url "https://repo.spring.io/release" }
maven { url 'https://repo.osgeo.org/repository/release' } //geoTools使用的仓库
maven { url 'https://repo.osgeo.org/repository/snapshot/' }//geoTools使用的仓库
maven { url "https://repository.jboss.org/maven2" }
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
//geotools
implementation 'org.geotools:gt-main:24.0'
implementation 'org.geotools:gt-metadata:24.0'
//springboot注解处理
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-quartz'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.springframework.boot:spring-boot-starter-logging'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2'
implementation 'com.alibaba:druid-spring-boot-starter:1.2.18'
//分页
implementation 'com.github.pagehelper:pagehelper-spring-boot-starter:1.4.6'
implementation 'io.springfox:springfox-boot-starter:3.0.0'
implementation 'org.apache.poi:poi:5.2.3'
implementation 'org.apache.poi:poi-ooxml:5.2.3'
implementation 'org.apache.poi:poi-excelant:5.2.3'
implementation 'dom4j:dom4j:1.6.1'//org.dom4j 2.1.3与spring-boot冲突,导致无法启动
implementation 'commons-net:commons-net:3.8.0'
implementation 'org.apache.commons:commons-pool2:2.11.1'
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'com.github.theborakompanioni:thymeleaf-extras-shiro:2.1.0'
implementation 'com.github.oshi:oshi-core:6.4.4'
// implementation 'org.bytedeco:ffmpeg:4.3.2-1.5.5:windows-x86_64'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
//shiro
implementation 'org.apache.shiro:shiro-core:1.10.1'
implementation 'org.apache.shiro:shiro-spring:1.10.1'
implementation 'org.apache.shiro:shiro-ehcache:1.10.1'
//velocity
implementation 'org.apache.velocity:velocity-engine-core:2.3'
//postgre数据库
implementation 'org.postgresql:postgresql'
implementation 'com.alibaba:fastjson:1.2.83'
implementation 'pro.fessional:kaptcha:2.3.3'
implementation 'eu.bitwalker:UserAgentUtils:1.21'
//校验注解
implementation 'javax.validation:validation-api:2.0.1.Final'
implementation 'javax.servlet:javax.servlet-api:4.0.1'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
configurations.implementation {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
// exclude group: 'org.apache.logging.log4j', module:'log4j-api'//poi需要用到该库,如不需要poi可以去掉注释
exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j'
exclude group: 'commons-logging', module:'commons-logging'
exclude group: 'javax.media', module:'jai_core'
}
test {
useJUnitPlatform()
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。