49 lines
1.2 KiB
Groovy
49 lines
1.2 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")
|
|
compile("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")
|
|
compile 'com.google.code.gson:gson:2.2.4'
|
|
compile "org.mockito:mockito-core:1.+"
|
|
|
|
|
|
|
|
/*Potrzebne do mapowanie widokow jsp, u*/
|
|
// providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
|
|
// providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper")
|
|
} |