Skip to content

Instantly share code, notes, and snippets.

@wololock
Created February 6, 2015 14:04
Show Gist options
  • Save wololock/ff0d855b8a890232851e to your computer and use it in GitHub Desktop.
Save wololock/ff0d855b8a890232851e to your computer and use it in GitHub Desktop.
turbine-server build gradle
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
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}"
compile "org.springframework.boot:spring-boot-starter-log4j:${versions.spring.boot}"
compile "org.springframework.boot:spring-boot-starter-web:${versions.spring.boot}"
compile "org.springframework.boot:spring-boot-starter-actuator:${versions.spring.boot}"
// Spring Cloud
compile "org.springframework.cloud:spring-cloud-netflix:${versions.spring.cloud}"
compile ("org.springframework.cloud:spring-cloud-starter-turbine:${versions.spring.cloud}")
// compile ("org.springframework.cloud:spring-cloud-starter-turbine-amqp:${versions.spring.cloud}")
compile 'uk.org.lidalia:sysout-over-slf4j:1.0.2'
}
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