123456789101112131415161718192021222324252627282930313233343536373839 |
- jar{
- enabled true
- }
- bootJar {
- enabled true
- }
- dependencies {
- implementation 'org.springframework.cloud:spring-cloud-starter-oauth2'
- implementation 'org.springframework.cloud:spring-cloud-starter-security'
- implementation 'org.springframework.boot:spring-boot-starter'
- implementation 'org.springframework.boot:spring-boot-starter-json'
- implementation 'org.springframework.boot:spring-boot-starter-tomcat'
- implementation 'org.springframework.boot:spring-boot-starter-aop'
- implementation('org.springframework.kafka:spring-kafka')
-
- compile('mysql:mysql-connector-java')
- //数据源连接池
- compile('com.alibaba:druid-spring-boot-starter:1.1.9')
-
- // redis
- compile('org.springframework.boot:spring-boot-starter-data-redis')
-
- //json工具
- compile('com.alibaba:fastjson:1.2.41')
- compile ('org.apache.httpcomponents:httpclient:4.5.6')
- compile('org.apache.commons:commons-lang3:3.4')
- compile ('commons-beanutils:commons-beanutils:1.7.0')
- //分页插件
- compile('com.github.pagehelper:pagehelper-spring-boot-starter:1.2.10')
- testImplementation('org.springframework.boot:spring-boot-starter-test') {
- exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
- }
- }
- test {
- useJUnitPlatform()
- }
|