/* * This file was generated by the Gradle 'init' task. * * This generated file contains a sample Java Library project to get you started. * For more details take a look at the Java Libraries chapter in the Gradle * User Manual available at https://docs.gradle.org/5.3-rc-3/userguide/java_library_plugin.html */ plugins { // Apply the java-library plugin to add support for Java Library id 'java' id 'org.springframework.boot' version '2.1.3.RELEASE' } apply plugin: 'java' apply plugin: 'io.spring.dependency-management' repositories { // Use jcenter for resolving your dependencies. // You can declare any Maven/Ivy/file repository here. jcenter() } dependencies { implementation('org.springframework.boot:spring-boot-starter') implementation('org.springframework.boot:spring-boot-starter-web'){ exclude group:'org.springframework.boot',module:'spring-boot-starter-tomcat' } implementation('org.springframework.boot:spring-boot-starter-jetty') implementation('org.springframework.boot:spring-boot-starter-data-jdbc') implementation('mysql:mysql-connector-java') implementation('org.springframework.boot:spring-boot-starter-data-jpa') implementation('org.springframework.boot:spring-boot-starter-data-redis'){ exclude module:'lettuce' } implementation('redis.clients:jedis') implementation('com.alibaba:druid-spring-boot-starter:1.1.10') }