Spring-boot +Gradle依赖管理+Mybatis 配置文件
来源:互联网 发布:自动卡密发卡平台源码 编辑:程序博客网 时间:2024/05/22 16:03
task wrapper(type: Wrapper) { gradleVersion = '3.5'}buildscript { ext { springBootVersion = '1.5.6.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") }}apply plugin: 'java'apply plugin: 'org.springframework.boot'repositories { mavenCentral() maven { credentials { username 'deploy' password 'Value888' } url 'http://106.14.251.153:18081/nexus/content/repositories/snapshots/' } maven { credentials { username 'deploy' password 'Value888' } url 'http://106.14.251.153:18081/nexus/content/repositories/releases/' } }configurations { all*.exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'}dependencies { compile 'org.springframework.boot:spring-boot-starter-web' compile 'org.springframework.boot:spring-boot-starter-log4j2' compile 'org.springframework.boot:spring-boot-starter-actuator' compile 'org.mybatis.spring.boot:mybatis-spring-boot-starter:1.2.1' compile "org.springframework.boot:spring-boot-starter-freemarker" compile 'org.apache.commons:commons-lang3:3.5' compile 'org.mybatis.generator:mybatis-generator-core:1.3.5' compile 'org.projectlombok:lombok' compile "org.apache.httpcomponents:httpclient" compile 'com.alibaba:druid:1.0.29' compile 'com.alibaba:fastjson:1.2.29' runtime files('./src/main/resources/lib/ojdbc6.jar') testCompile 'org.springframework.boot:spring-boot-starter-test'}test { testLogging { showStandardStreams = true }}if (!hasProperty('mainClass')) { ext.mainClass = 'com.ftvalue.customer.CustomerApplication'}configurations.all { resolutionStrategy.cacheChangingModulesFor 0, 'seconds'}
阅读全文
0 0
- Spring-boot +Gradle依赖管理+Mybatis 配置文件
- Spring Boot + Gradle 依赖管理
- Spring Boot 集成mybatis(gradle)
- spring boot mybatis 读取配置文件
- spring boot mybatis 读取配置文件
- Spring Boot环境配置:Spring Boot+Mybatis+Gradle
- 初识spring boot maven管理--配置文件
- gradle+spring-boot+mybatis(基于xml)+mysql 整合
- gradle依赖管理
- gradle -- 依赖管理
- Gradle统一依赖管理
- Gradle之依赖管理
- Gradle依赖管理
- Gradle 依赖管理
- Gradle依赖管理
- Gradle统一依赖管理
- Gradle Maven 依赖管理
- gradle 工程依赖 打包 配置文件
- 【css】导航栏小结(一)-----简单导航
- Socket编程中的强制关闭与优雅关闭及相关socket选项
- IT圈圣诞福利来了,这次我们送人民币!
- Spring整合Quartz Job以及Spring Task实现
- WP-CLI的使用示例与介绍
- Spring-boot +Gradle依赖管理+Mybatis 配置文件
- Rust golang之结构体
- ideallij之Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/Filter
- 转载:Http协议详解
- markdown入门语法
- eclipse使用码云上传代码和下载代码
- 网络编程
- C# Queue的使用
- 第三课:把tensorflow,模型和测试数据导入Android工程