Skip to content

Instantly share code, notes, and snippets.

@tygern
Last active November 18, 2016 19:41
Show Gist options
  • Save tygern/d1fc8594ea9444d2cbed705ff8d2c536 to your computer and use it in GitHub Desktop.
Save tygern/d1fc8594ea9444d2cbed705ff8d2c536 to your computer and use it in GitHub Desktop.
security dependencies with configuration
buildscript {
repositories { mavenCentral() }
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE"
}
}
apply plugin: "java"
apply plugin: "spring-boot"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories { mavenCentral() }
dependencies {
compile "org.springframework.boot:spring-boot-starter-web"
compile "org.springframework.cloud:spring-cloud-starter-oauth2"
compile "io.pivotal.spring.cloud:spring-cloud-sso-connector:1.1.0.RELEASE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment