46 lines
No EOL
1.1 KiB
Groovy
46 lines
No EOL
1.1 KiB
Groovy
buildscript {
|
|
ext {
|
|
springBootVersion = '1.5.3.RELEASE'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "net.ltgt.apt" version "0.10"
|
|
}
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'org.springframework.boot'
|
|
|
|
group 'com.faendir'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = 1.8
|
|
ext.debug = true;
|
|
|
|
dependencies {
|
|
compile 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
|
compile 'org.springframework.boot:spring-boot-starter-security'
|
|
compile 'com.vaadin:vaadin-spring-boot-starter'
|
|
compile 'org.codeartisans:org.json:20161124'
|
|
compile 'org.apache.commons:commons-collections4:4.1'
|
|
compile 'org.ocpsoft.prettytime:prettytime:3.2.7.Final'
|
|
compile 'commons-fileupload:commons-fileupload:1.3.2'
|
|
|
|
compileOnly project(':annotation')
|
|
apt project(':annotationprocessor')
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "com.vaadin:vaadin-bom:8.0.6"
|
|
}
|
|
}
|
|
|
|
if(!ext.debug){
|
|
apply from: 'releasepackaging.gradle'
|
|
} |