Skip to content

Commit

Permalink
include jsp files in executable jar
Browse files Browse the repository at this point in the history
  • Loading branch information
AO-StreetArt committed Dec 12, 2018
1 parent cb58bc0 commit 6cd8960
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ ext {
springCloudVersion = 'Finchley.SR1'
}

// Include webapp folder in jar
processResources {
from ('src/main/webapp/WEB-INF/jsp') {
into '/WEB-INF/jsp'
}
}

jar.dependsOn(processResources)

dependencies {
compile('org.springframework.boot:spring-boot-starter-actuator')
compile('org.springframework.boot:spring-boot-starter-web')
Expand Down

0 comments on commit 6cd8960

Please sign in to comment.