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' bootJar.enabled = false jar.enabled = true dependencies { implementation project(":common:utils") implementation project(":common:data") implementation project(":dao:dao-interface") implementation fileTree(dir: 'src/main/lib', include: '*.jar') implementation("$bootGroup:spring-boot-starter-log4j2") implementation ("com.taosdata.jdbc:taos-jdbcdriver:$taosVersion"){ exclude group: 'com.alibaba', module: 'fastjson' } }