buildscript { ext { set('appname', "sample") } } 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}: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 "org.springframework.cloud:spring-cloud-starter-openfeign" implementation "org.apache.skywalking:apm-toolkit-trace:8.8.0" implementation "org.apache.skywalking:apm-toolkit-opentracing:8.8.0" implementation "org.apache.skywalking:apm-toolkit-logback-1.x:8.8.0" // //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' } 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 "sample" appName "ods" projectType "service" parentProjectName "zhywpt" }