12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- plugins {
- id 'java-library'
- }
- group 'com.incubator.common'
- version '1.0-SNAPSHOT'
- dependencies {
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
- testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
- // 日志相关
- api 'org.slf4j:slf4j-api:2.0.16' // SLF4J API
- api 'org.apache.logging.log4j:log4j-slf4j2-impl:2.24.2' // SLF4J -> Log4j2 桥接
- api 'org.apache.logging.log4j:log4j-core:2.24.2' // Log4j2 实现
- // 系统核心依赖
- api 'com.lmax:disruptor:3.4.4' // 高性能队列
- api 'org.quartz-scheduler:quartz:2.4.0' // 定时任务调度
- api 'com.zaxxer:HikariCP:6.2.0' // 高性能数据库连接池
- api 'com.mysql:mysql-connector-j:9.1.0' // MySQL 数据库驱动
- api 'org.mybatis:mybatis:3.5.16' // MyBatis 持久层框架
- api 'redis.clients:jedis:5.2.0' // Redis 客户端
- api 'org.mongodb:mongo-java-driver:3.12.14' // MongoDB 驱动
- api 'org.dom4j:dom4j:2.1.4' // XML 操作工具
- // 网络通信和序列化
- api 'io.netty:netty-all:4.1.117.Final' // Netty 全功能包
- api 'org.msgpack:msgpack-core:0.9.8' // MessagePack 序列化
- api 'com.dyuproject.protostuff:protostuff-core:1.3.1' // Protostuff 核心
- api 'com.dyuproject.protostuff:protostuff-runtime:1.3.1' // Protostuff 运行时
- // 工具和辅助库
- api 'org.apache.commons:commons-lang3:3.17.0' // Apache Commons Lang
- api 'org.bouncycastle:bcprov-jdk18on:1.79' // 加密库
- api 'it.unimi.dsi:dsiutils:2.7.3' // 数据结构和算法工具
- api 'org.reflections:reflections:0.10.2' // 反射工具
- api 'cn.hutool:hutool-all:5.8.25' // Hutool 工具包
- // api 'org.springframework.boot:spring-boot-starter-amqp:2.6.3' //mq
- api 'com.rabbitmq:amqp-client:5.14.2' //mq
- api 'org.springframework:spring-web:5.3.33' //web
- // Excel 操作
- api 'com.alibaba:easyexcel:4.0.3' // EasyExcel
- api 'org.apache.poi:poi:5.3.0' // Apache POI
- api 'org.apache.poi:poi-ooxml:5.3.0' // Apache POI OOXML
- }
- tasks {
- // 清理冗余的 copyAllDependencies 任务,如有必要重新定义
- build.dependsOn("jar")
- }
|