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' archivesBaseName = 'powergen-wind' 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" } } dependencies { implementation project(":timeseries:dao-sql") implementation("$bootGroup:spring-boot-starter-web") implementation("$bootGroup:spring-boot-starter-undertow") implementation("org.postgresql:postgresql:$postgresqlDriverVersion") implementation "com.baomidou:mybatis-plus-boot-starter:$mybatisPlusVersion" implementation("com.alibaba:druid:$alibabaDruidVersion") //implementation("com.alibaba:fastjson:$fastjsonVersion") 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("com.taosdata.jdbc:taos-jdbcdriver:$taosVersion2") implementation("$cloudGroup:spring-cloud-starter-openfeign") implementation("cn.hutool:hutool-all:5.8.18") implementation("com.baomidou:dynamic-datasource-spring-boot-starter:$mybatisPlusVersion") } test { useJUnitPlatform() }