Files
bazy-projekt-rest/build.gradle
T

53 lines
1.1 KiB
Groovy

buildscript {
repositories {
maven { url "https://repo.spring.io/libs-release" }
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.10.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'war'
/*
war {
baseName = 'myapp'
version = '0.5.0'
}
*/
jar {
baseName = 'bazy-rest'
version = '0.1.0'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repository.jboss.org/nexus/content/repositories/releases" }
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.data:spring-data-rest-webmvc")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("com.h2database:h2")
testCompile("junit:junit")
compile 'postgresql:postgresql:9.1-901-1.jdbc4'
compile("org.springframework:spring-jdbc")
}
configurations {
providedRuntime
}
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}