Files
SpringRest/build.gradle
T
2014-04-30 01:38:56 +02:00

45 lines
1.1 KiB
Groovy

buildscript {
repositories {
maven { url "http://repo.spring.io/libs-snapshot" }
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.0.0.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'war'
war {
baseName = 'nfc_server'
version = '0.1.0'
}
repositories {
mavenCentral()
maven { url "http://repo.spring.io/libs-snapshot" }
}
dependencies {
compile("com.fasterxml.jackson.core:jackson-databind")
testCompile("junit:junit")
compile 'org.springframework:spring-core:4.0.0.RELEASE'
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("com.h2database:h2")
compile 'org.json:json:20080701'
compile("org.springframework.boot:spring-boot-starter-web")
testCompile("org.springframework.boot:spring-boot-starter-test")
providedRuntime("javax.servlet:jstl")
/*Potrzebne do mapowanie widokow jsp, u*/
/*providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper")*/
}