1 Star 2 Fork 0

eguid/Ruoyi-Fast-PostgreSQL

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 4.46 KB
一键复制 编辑 原始数据 按行查看 历史
eguid 提交于 2023-10-09 18:23 . 初始化
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()
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/eguid/ruoyi-fast-postgre-sql.git
[email protected]:eguid/ruoyi-fast-postgre-sql.git
eguid
ruoyi-fast-postgre-sql
Ruoyi-Fast-PostgreSQL
master

搜索帮助