buildscript { repositories { mavenLocal() maven { allowInsecureProtocol = true url "http://maven.aliyun.com/nexus/content/groups/public" } mavenCentral() } dependencies { classpath("$bootGroup:spring-boot-gradle-plugin:$springBootVersion") } } apply plugin: "$bootGroup" apply plugin: 'io.spring.dependency-management' dependencyManagement { imports { mavenBom "org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion" mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion" mavenBom "com.alibaba.cloud:spring-cloud-alibaba-dependencies:$springCloudAlibabaVersion" } } springBoot { buildInfo() } dependencies { implementation project(":common:utils") implementation project(":common:data") implementation("$bootGroup:spring-boot-starter-web") implementation("$bootGroup:spring-boot-starter-undertow") // implementation("$bootGroup:spring-boot-starter-websocket") implementation("org.postgresql:postgresql:$postgresqlDriverVersion") implementation "com.baomidou:mybatis-plus-boot-starter:$mybatisPlusVersion" implementation "com.baomidou:mybatis-plus-generator:$mybatisPlusVersion" implementation("com.alibaba:druid:$alibabaDruidVersion") implementation("com.alibaba:fastjson:1.2.83") implementation("$bootGroup:spring-boot-starter-test") implementation("com.xuxueli:xxl-job-core:$xxlJobVersion") implementation("org.springframework.cloud:spring-cloud-starter-bootstrap") implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery") implementation("com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config") implementation("$cloudGroup:spring-cloud-starter-openfeign") implementation("cn.hutool:hutool-all:5.8.18") implementation("org.springframework.boot:spring-boot-configuration-processor") implementation("org.codehaus.groovy:groovy-all:2.4.1") implementation("com.taosdata.jdbc:taos-jdbcdriver:$taosVersion2") implementation("com.baomidou:dynamic-datasource-spring-boot-starter:$mybatisPlusVersion") implementation("org.apache.poi:poi:5.2.3") implementation ("org.apache.poi:poi-ooxml:5.2.3") //注解处理器 annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' }