Created
March 8, 2018 08:46
-
-
Save glfruit/3028e8c11028fd374df6e934409aba81 to your computer and use it in GitHub Desktop.
A simple build file for spring boot project
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 { | |
ext { | |
springBootVersion = '2.0.0.RELEASE' | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") | |
} | |
} | |
apply plugin: 'java' | |
apply plugin: 'idea' | |
apply plugin: 'org.springframework.boot' | |
apply plugin: 'io.spring.dependency-management' | |
group = 'me.glfruit' | |
version = '0.0.1-SNAPSHOT' | |
sourceCompatibility = 1.8 | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile('org.springframework.boot:spring-boot-starter-web') | |
compile('org.springframework.boot:spring-boot-starter-actuator') | |
testCompile('org.springframework.boot:spring-boot-starter-test') | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment