Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.