buildscript { ext { set('appname', "ias") } } group = 'cn.com.taiji' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' dependencies { implementation "${groupname}:common-core:1.0.0-SNAPSHOT" implementation "${groupname}:entity-core:1.0.0-SNAPSHOT" implementation "${groupname}:comm-core:1.0.0-SNAPSHOT" implementation "${groupname}:sample-protocol:1.0.0-SNAPSHOT" implementation "${groupname}:ias-protocol:1.0.0-SNAPSHOT" implementation "${groupname}:ifmw-protocol:1.0.0-SNAPSHOT" implementation "${groupname}:ats-protocol:1.0.0-SNAPSHOT" implementation "${groupname}:ods-protocol:1.0.0-SNAPSHOT" implementation "${groupname}:ats-protocol:1.0.0-SNAPSHOT" implementation "${groupname}:smp-protocol:1.0.0-SNAPSHOT" implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery" implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config" implementation 'com.alibaba:druid-spring-boot-starter:1.2.8' implementation "org.springframework.cloud:spring-cloud-starter-openfeign" implementation "org.springframework.boot:spring-boot-starter-data-redis" implementation "com.alibaba:easyexcel:3.2.1" implementation group: 'org.xsocket', name: 'xSocket', version: '2.8.15' implementation "org.redisson:redisson-spring-boot-starter:3.14.0" implementation 'com.txffp.ucore:sso-protocol:1.0' implementation 'com.txffp.ucore:usp-protocol:1.0' implementation 'com.txffp.iss:iss-protocol:1.1' implementation 'com.txffp.iss:iss-client:1.1' implementation 'cn.com.taiji.tccore:comm-client:1.0' implementation 'com.txffp.ucore:comm-core:1.0' //定时器相关 implementation 'org.springframework.boot:spring-boot-starter-quartz' implementation(group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0') { // exclude group: 'net.bytebuddy',module: 'byte-buddy' } implementation "com.github.xiaoymin:knife4j-spring-boot-starter:3.0.2" implementation fileTree(dir: 'libs', include: ['*/*.jar']) // //MYSQL // runtimeOnly 'mysql:mysql-connector-java' //ORACLE+库编码问题 runtimeOnly 'com.oracle.database.jdbc:ojdbc8:19.10.0.0' runtimeOnly 'cn.easyproject:orai18n:12.1.0.2.0' // 添加 MapStruct 核心库依赖 implementation 'org.mapstruct:mapstruct:1.5.5.Final' // 添加 MapStruct 注解处理器依赖 annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final' } bootJar { archiveFileName = "${appname}-boot.jar" mainClassName = "cn.com.taiji.${appname}.Application" } test { useJUnitPlatform() } //gradle会检查一次依赖,设置每次build都进行检查。默认时间为24小时 configurations.all { // check for updates every build resolutionStrategy.cacheChangingModulesFor 0, 'seconds' } apply plugin: "createProject" createProjectParam { sampleAppName "ias" appName "ias" projectType "service" parentProjectName "zhywpt" }