Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
46 righe
1.5 KiB
46 righe
1.5 KiB
buildscript { |
|
ext { |
|
springBootVersion = '1.5.5.BUILD-SNAPSHOT' |
|
} |
|
repositories { |
|
mavenCentral() |
|
maven { url "https://repo.spring.io/snapshot" } |
|
maven { url "https://repo.spring.io/milestone" } |
|
} |
|
dependencies { |
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") |
|
} |
|
} |
|
|
|
apply plugin: 'java' |
|
apply plugin: 'eclipse-wtp' |
|
apply plugin: 'org.springframework.boot' |
|
apply plugin: 'war' |
|
|
|
version = '0.0.1-SNAPSHOT' |
|
sourceCompatibility = 1.8 |
|
|
|
repositories { |
|
mavenCentral() |
|
maven { url "https://repo.spring.io/snapshot" } |
|
maven { url "https://repo.spring.io/milestone" } |
|
} |
|
|
|
configurations { |
|
providedRuntime |
|
} |
|
|
|
dependencies { |
|
compile('org.springframework.boot:spring-boot-starter-web') |
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version: '1.5.4.RELEASE' |
|
compile group: 'org.springframework.boot', name: 'spring-boot-devtools', version: '1.5.4.RELEASE' |
|
compile group: 'org.json', name: 'json', version: '20080701' |
|
compile "org.javers:javers-spring-boot-starter-sql:$javersVersion" |
|
compile group: 'org.javassist', name: 'javassist', version: '3.21.0-GA' |
|
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.6.1' |
|
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.6.1' |
|
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0' |
|
runtime('org.postgresql:postgresql') |
|
providedRuntime('org.springframework.boot:spring-boot-starter-tomcat') |
|
testCompile('org.springframework.boot:spring-boot-starter-test') |
|
}
|
|
|