123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- buildscript {
- ext {
- set('appname', "sample")
- }
- }
-
-
- dependencies {
- // implementation "cn.com.taiji.common:sso-protocol:2.3.10"
- implementation "${groupname}:common-core:1.0.0-SNAPSHOT"
- implementation "${groupname}:entity-core:1.0.0-SNAPSHOT"
- implementation "${groupname}:template:1.0.0-SNAPSHOT"
- implementation('cn.com.taiji.common:sso-client:2.3.10.7')
- implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web'
- implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis'
- implementation group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.1'
-
- 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"
- //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'
- //DM
- //runtimeOnly 'com.dameng:jdbc8:1.8'
-
- }
-
- bootJar {
- archiveFileName = "${appname}-boot.jar"
- mainClassName = "cn.com.taiji.${appname}.SampleApplication"
- }
-
- test {
- useJUnitPlatform()
- }
-
- //gradle会检查一次依赖,设置每次build都进行检查。默认时间为24小时
- configurations.all {
- // check for updates every build
- resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
- }
-
-
- apply plugin: "createProject"
- createProjectParam {
- sampleAppName "sample"
- appName "manage"
- projectType "app"
- parentProjectName "gly"
- }
|