Last active
August 29, 2015 14:02
-
-
Save emersonf/f8f27d69a0c68f790970 to your computer and use it in GitHub Desktop.
A Gradle build script for a Spring Boot application.
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
apply plugin: 'java' | |
apply plugin: 'maven' // used for deploying artifacts to Maven repositories | |
apply plugin: 'spring-boot' | |
group = 'internal' | |
version = '1.0-SNAPSHOT' | |
description = "" | |
sourceCompatibility = 1.7 | |
targetCompatibility = 1.7 | |
repositories { | |
mavenCentral() | |
maven { | |
url 'http://repo.spring.io/milestone' | |
} | |
} | |
// blessed artifact versions are available at | |
// http://docs.spring.io/spring-boot/docs/{springBootVersion}/reference/html/appendix-dependency-versions.html | |
dependencies { | |
compile group: 'com.google.guava', name: 'guava', version: '17.0' | |
compile group: 'org.hibernate', name: 'hibernate-validator' | |
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind' | |
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core' | |
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-joda' | |
compile group: 'joda-time', name: 'joda-time' | |
compile group: 'org.slf4j', name: 'slf4j-api' | |
compile group: 'org.springframework.batch', name: 'spring-batch-core' | |
compile group: 'org.springframework.batch', name: 'spring-batch-infrastructure' | |
compile group: 'org.springframework.boot', name: 'spring-boot-autoconfigure' | |
compile group: 'org.springframework', name: 'spring-test' | |
compile group: 'org.springframework', name: 'spring-web' | |
compile group: 'javax.validation', name: 'validation-api', version: '1.1.0.Final' | |
testCompile group: 'junit', name: 'junit' | |
testCompile group: 'org.mockito', name: 'mockito-core' | |
testCompile group: 'org.hamcrest', name: 'hamcrest-library' | |
} | |
buildscript { | |
repositories { | |
mavenCentral() | |
maven { | |
url 'http://repo.spring.io/milestone' | |
} | |
} | |
dependencies { | |
classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: '1.1.0.RC1' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment