From bebe7c159f00e6d5a83bb786824d5f32e4de9270 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 24 Feb 2018 16:54:28 +0300 Subject: spring boot wip --- juick-www/build.gradle | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'juick-www/build.gradle') 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 { -- cgit v1.2.3