aboutsummaryrefslogtreecommitdiff
path: root/juick-www/build.gradle
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-24 16:54:28 +0300
committerGravatar Vitaly Takmazov2018-03-15 12:05:59 +0300
commitbebe7c159f00e6d5a83bb786824d5f32e4de9270 (patch)
tree151801a2e625d4952d12630da6a4aec6a37fb76d /juick-www/build.gradle
parent70f481e2fe39a9029b1896d7b351293fd5de4ef8 (diff)
spring boot wip
Diffstat (limited to 'juick-www/build.gradle')
-rw-r--r--juick-www/build.gradle9
1 files changed, 4 insertions, 5 deletions
diff --git a/juick-www/build.gradle b/juick-www/build.gradle
index e7a9dfca..defc6558 100644
--- a/juick-www/build.gradle
+++ b/juick-www/build.gradle
@@ -20,7 +20,8 @@ task compileFrontend(type: YarnTask) {
apply plugin: 'java'
apply plugin: 'war'
-apply plugin: 'org.akhikhl.gretty'
+apply plugin: 'org.springframework.boot'
+apply plugin: 'io.spring.dependency-management'
dependencies {
compile project(':juick-server-web')
@@ -42,10 +43,8 @@ compileFrontend.dependsOn 'yarn'
processResources.dependsOn 'compileFrontend'
compileJava.options.encoding = 'UTF-8'
-gretty {
- httpPort = 8080
- contextPath = '/'
- servletContainer = 'tomcat8'
+bootJar {
+ launchScript()
}
configurations {