-
-
Save wololock/570272ad7cf2d14a4d3c to your computer and use it in GitHub Desktop.
eureka-server gradle file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { jcenter() } | |
dependencies { classpath "org.springframework.boot:spring-boot-gradle-plugin:1.2.1.RELEASE" } | |
} | |
plugins { | |
id 'ch.netzwerg.release' version '0.3.1' | |
} | |
apply plugin: 'java' | |
apply plugin: 'groovy' | |
apply plugin: 'spring-boot' | |
apply plugin: 'project-report' | |
apply from: '.build-config/idea.gradle' | |
apply from: '.build-config/sonar.gradle' | |
apply from: '.build-config/docker.gradle' | |
group = "de.zinvoice" | |
sourceCompatibility = 1.8 | |
project.description = 'z invoice eureka server' | |
def versions = [ | |
spring: [ | |
boot: "1.2.1.RELEASE", | |
core: "4.1.4.RELEASE", | |
cloud: "1.0.0.RC2" | |
] | |
] | |
configurations { | |
compile.exclude module: "spring-boot-starter-tomcat" | |
compile.exclude module: "spring-boot-starter-logging" | |
} | |
dependencies { | |
compile 'org.codehaus.groovy:groovy-all:2.3.7:indy' | |
//Servlet container | |
compile ("org.springframework.boot:spring-boot-starter-undertow:${versions.spring.boot}") | |
// Spring Cloud | |
compile "org.springframework.cloud:spring-cloud-netflix:${versions.spring.cloud}" | |
compile ("org.springframework.cloud:spring-cloud-starter-hystrix-dashboard:${versions.spring.cloud}") | |
compile ("org.springframework.cloud:spring-cloud-starter-hystrix:${versions.spring.cloud}") | |
compile ("org.springframework.cloud:spring-cloud-starter-eureka-server:${versions.spring.cloud}") | |
} | |
repositories { | |
mavenLocal() | |
mavenCentral() | |
maven { url "http://repo.spring.io/milestone" } | |
} | |
springBoot { | |
requiresUnpack = ['com.netflix.eureka:eureka-core','com.netflix.eureka:eureka-client'] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment