Skip to content

Commit

Permalink
serve new scratch3/ static web content via StaticWebServerVerticle
Browse files Browse the repository at this point in the history
web-1.0.0-SNAPSHOT-all.jar just jumped from 3.4 MB to 25 MB ... ;-)

see http://localhost:7070/scratch3/index.html
  • Loading branch information
vorburger committed May 25, 2018
1 parent bd217ee commit d2f9ccc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scratch3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ task npmBuild {
assemble.dependsOn(npmBuild)

jar {
into 'scratch3', {
into 'static/scratch3', {
from "$buildDir/scratch-gui/build"
}
}
2 changes: 2 additions & 0 deletions web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies {
implementation project(':api')
implementation project(':storeys')
implementation project(':scratch')
implementation project(':scratch3')

implementation 'org.osgi:org.osgi.core:6.0.0'
implementation 'ch.vorburger.minecraft.osgi:api:1.0.0'
Expand Down Expand Up @@ -39,6 +40,7 @@ shadowJar {
include(project(':api'))
include(project(':storeys'))
include(project(':scratch'))
include(project(':scratch3'))
include(dependency("io.vertx:vertx-core"))
include(dependency("io.vertx:vertx-web"))
include(dependency("io.vertx:vertx-auth-common"))
Expand Down

0 comments on commit d2f9ccc

Please sign in to comment.