[Editor] Connect :editor with :game modules - create Game Engine provider

From now on the editor is able to build an output *.jar file taking the :game *.jar artefact as the base
This commit is contained in:
2021-02-25 22:12:28 +01:00
parent e355be81ed
commit b1f122ea20
4 changed files with 42 additions and 1 deletions

View File

@@ -47,6 +47,17 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
}
task copyGameEngine(type: Copy) {
dependsOn(":game:build")
from project(':game').file('build/libs/game.jar')
into file("build/resources/main/engine")
}
processResources {
dependsOn(copyGameEngine)
}
build {
dependsOn(":proto:build")
}