2017-05-17 15:42:01 +00:00
|
|
|
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
|
2017-05-17 17:34:34 +00:00
|
|
|
ext.debug = true;
|
2017-05-17 15:42:01 +00:00
|
|
|
|
|
|
|
dependencies {
|
2017-05-19 15:26:58 +00:00
|
|
|
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'
|
|
|
|
|
2017-05-17 15:42:01 +00:00
|
|
|
compileOnly project(':annotation')
|
|
|
|
apt project(':annotationprocessor')
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyManagement {
|
|
|
|
imports {
|
|
|
|
mavenBom "com.vaadin:vaadin-bom:8.0.6"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-17 17:34:34 +00:00
|
|
|
if(!ext.debug){
|
|
|
|
apply from: 'releasepackaging.gradle'
|
2017-05-17 15:42:01 +00:00
|
|
|
}
|