Created
July 12, 2014 00:15
-
-
Save scheakur/0dc2566863703abf97f3 to your computer and use it in GitHub Desktop.
Spring Boot + Spring Loaded + Gradle + IntelliJ IDEA = Awesome
This file contains hidden or 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 { | |
mavenCentral() | |
maven { url "http://repo.spring.io/snapshot" } | |
maven { url "http://repo.spring.io/milestone" } | |
} | |
dependencies { | |
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.4.RELEASE") | |
classpath("org.springframework:springloaded:1.2.0.RELEASE") | |
} | |
} | |
apply plugin: 'java' | |
apply plugin: 'spring-boot' | |
apply plugin: 'idea' | |
jar { | |
baseName = 'springboot-example' | |
version = '0.0.1-SNAPSHOT' | |
} | |
idea { | |
module { | |
inheritOutputDirs = false | |
outputDir = file("$buildDir/classes/main/") | |
} | |
} | |
repositories { | |
mavenCentral() | |
maven { url "http://repo.spring.io/snapshot" } | |
maven { url "http://repo.spring.io/milestone" } | |
} | |
dependencies { | |
compile("org.springframework.boot:spring-boot-starter-web") | |
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