Skip to content

Commit

Permalink
Move 'maps-module' code to 'servers/maps/server' (next steps will be …
Browse files Browse the repository at this point in the history
…to make this a standalone server) (#12138)

* Move 'maps-module' code to 'servers/maps/server' (next steps will be to make this a standalone server)

* Formatting
  • Loading branch information
DanVanAtta authored Nov 28, 2023
1 parent 2f1f8b7 commit 82379d7
Show file tree
Hide file tree
Showing 53 changed files with 19 additions and 22 deletions.
3 changes: 0 additions & 3 deletions servers/maps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@ Eventually this was evolved to be a YML file. The maps-index server
is a further step on this evolution to where maps are dynamically
read from the triplea-maps github organization and then the list
fo maps is maintained in a database.



17 changes: 17 additions & 0 deletions servers/maps/server/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
dependencies {
implementation "io.dropwizard:dropwizard-core:$dropwizardVersion"
implementation "io.dropwizard:dropwizard-jdbi3:$dropwizardVersion"
implementation "org.jdbi:jdbi3-core:$jdbiVersion"
implementation "org.jdbi:jdbi3-sqlobject:$jdbiVersion"
implementation project(':http-clients:github-client')
implementation project(':http-clients:lobby-client')
implementation project(':lib:java-extras')
implementation project(':spitfire-server:database')
implementation project(':spitfire-server:lib:scheduled-tasks')
runtimeOnly "org.postgresql:postgresql:$postgresqlVersion"
testImplementation "com.github.database-rider:rider-junit5:$databaseRiderVersion"
testImplementation "io.dropwizard:dropwizard-testing:$dropwizardVersion"
testImplementation "uk.co.datumedge:hamcrest-json:$hamcrestJsonVersion"
testImplementation project(':lib:test-common')
testImplementation project(':spitfire-server:database-test-support')
}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ include 'lib:websocket-server'
include 'lib:xml-reader'
include 'servers:game-support:client'
include 'servers:game-support:server'
include 'servers:maps:server'
include 'servers:server-lib'
include 'servers:server-test-support'
include 'spitfire-server:database'
Expand All @@ -28,4 +29,3 @@ include 'spitfire-server:dropwizard-server'
include 'spitfire-server:latest-version-module'
include 'spitfire-server:lib:scheduled-tasks'
include 'spitfire-server:lobby-module'
include 'spitfire-server:maps-module'
2 changes: 1 addition & 1 deletion spitfire-server/dropwizard-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ dependencies {
implementation project(':lib:java-extras')
implementation project(':lib:websocket-client')
implementation project(':lib:websocket-server')
implementation project(':servers:maps:server')
implementation project(':servers:server-lib')
implementation project(':spitfire-server:latest-version-module')
implementation project(':spitfire-server:lobby-module')
implementation project(':spitfire-server:maps-module')
testImplementation "com.github.database-rider:rider-junit5:$databaseRiderVersion"
testImplementation "io.dropwizard:dropwizard-testing:$dropwizardVersion"
testImplementation "io.github.openfeign:feign-core:$feignCoreVersion"
Expand Down
17 changes: 0 additions & 17 deletions spitfire-server/maps-module/build.gradle

This file was deleted.

0 comments on commit 82379d7

Please sign in to comment.