Skip to content

Commit

Permalink
Fixing the build post code move - start converting to a single module…
Browse files Browse the repository at this point in the history
… project
  • Loading branch information
DanVanAtta committed Jul 4, 2024
1 parent b1859ac commit 7e9fa75
Show file tree
Hide file tree
Showing 331 changed files with 1,948 additions and 382 deletions.
143 changes: 92 additions & 51 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "java"
id "io.franzbecker.gradle-lombok" version "5.0.0" apply false
id "com.diffplug.spotless" version "6.25.0" apply false
id "io.freefair.lombok" version "8.6"
id "com.diffplug.spotless" version "6.25.0"
id "com.avast.gradle.docker-compose" version "0.17.6"
}

Expand All @@ -25,6 +25,12 @@ tasks.withType(JavaCompile).configureEach {
}

tasks.withType(Test).configureEach {
useJUnitPlatform()
testLogging {
exceptionFormat = "full"
events = ["standardOut", "standardError", "skipped", "failed"]
}

testLogging {
exceptionFormat = "full"
events = ["standardOut", "standardError", "skipped", "failed"]
Expand All @@ -38,54 +44,89 @@ spotless {
}
}

subprojects {
ext {
apacheHttpComponentsVersion = "4.5.14"
awaitilityVersion = "4.2.1"
bcryptVersion = "0.10.2"
caffeineVersion = "3.1.8"
checkstyleVersion = "8.45"
commonsCliVersion = "1.8.0"
commonsCodecVersion = "1.17.0"
commonsIoVersion = "2.16.1"
commonsMathVersion = "3.6.1"
commonsTextVersion = "1.12.0"
databaseRiderVersion = "1.42.0"
dropwizardVersion = "2.1.0"
dropwizardWebsocketsVersion = "1.3.14"
equalsVerifierVersion = "3.16.1"
feignCoreVersion = "13.2.1"
feignGsonVersion = "13.2.1"
javaWebSocketVersion = "1.5.3"
gsonVersion = "2.11.0"
guavaVersion = "33.2.1-jre"
hamcrestJsonVersion = "0.3"
hamcrestOptionalVersion = "2.0.0"
hamcrestVersion = "2.0.0.0"
jacksonDataTypeVersion = "2.17.1"
jakartaMailVersion = "2.0.1"
javaWebsocketVersion = "1.5.3"
javaxActivationVersion = "1.1.1"
jaxbApiVersion = "2.3.1"
jaxbCoreVersion = "4.0.5"
jaxbImplVersion = "4.0.5"
jdbiVersion = "3.45.1"
jetbrainsAnnotationsVersion = "24.1.0"
jlayerVersion = "1.0.1.4"
junitJupiterVersion = "5.10.2"
junitPlatformLauncherVersion = "1.10.2"
logbackClassicVersion = "1.2.11"
mockitoVersion = "5.11.0"
openFeignVersion = "13.2.1"
postgresqlVersion = "42.7.3"
snakeYamlVersion = "2.7"
sonatypeGoodiesPrefsVersion = "2.3.9"
substanceVersion = "4.5.0"
wireMockJunit5Version = "1.3.1"
wireMockVersion = "3.0.1"
xchartVersion = "3.8.8"
xmlUnitCore = "2.10.0"
xmlUnitMatchers = "2.10.0"
}

ext {
apacheHttpComponentsVersion = "4.5.14"
awaitilityVersion = "4.2.1"
bcryptVersion = "0.10.2"
caffeineVersion = "3.1.8"
checkstyleVersion = "8.45"
commonsCliVersion = "1.8.0"
commonsCodecVersion = "1.17.0"
commonsIoVersion = "2.16.1"
commonsMathVersion = "3.6.1"
commonsTextVersion = "1.12.0"
databaseRiderVersion = "1.42.0"
dropwizardVersion = "2.1.0"
dropwizardWebsocketsVersion = "1.3.14"
equalsVerifierVersion = "3.16.1"
feignCoreVersion = "13.2.1"
feignGsonVersion = "13.2.1"
javaWebSocketVersion = "1.5.3"
gsonVersion = "2.11.0"
guavaVersion = "33.2.1-jre"
hamcrestJsonVersion = "0.3"
hamcrestOptionalVersion = "2.0.0"
hamcrestVersion = "2.0.0.0"
jacksonDataTypeVersion = "2.17.1"
jakartaMailVersion = "2.0.1"
javaWebsocketVersion = "1.5.3"
javaxActivationVersion = "1.1.1"
jaxbApiVersion = "2.3.1"
jaxbCoreVersion = "4.0.5"
jaxbImplVersion = "4.0.5"
jdbiVersion = "3.45.1"
jetbrainsAnnotationsVersion = "24.1.0"
jlayerVersion = "1.0.1.4"
junitJupiterVersion = "5.10.2"
junitPlatformLauncherVersion = "1.10.2"
logbackClassicVersion = "1.2.11"
mockitoVersion = "5.11.0"
openFeignVersion = "13.2.1"
postgresqlVersion = "42.7.3"
snakeYamlVersion = "2.7"
sonatypeGoodiesPrefsVersion = "2.3.9"
substanceVersion = "4.5.0"
wireMockJunit5Version = "1.3.1"
wireMockVersion = "3.0.1"
xchartVersion = "3.8.8"
xmlUnitCore = "2.10.0"
xmlUnitMatchers = "2.10.0"
}
dependencies {
implementation "at.favre.lib:bcrypt:$bcryptVersion"
implementation "com.liveperson:dropwizard-websockets:$dropwizardWebsocketsVersion"
implementation "com.sun.mail:jakarta.mail:$jakartaMailVersion"
implementation "com.sun.xml.bind:jaxb-core:$jaxbCoreVersion"
implementation "com.sun.xml.bind:jaxb-impl:$jaxbImplVersion"
implementation "io.dropwizard:dropwizard-auth:$dropwizardVersion"
implementation "io.dropwizard:dropwizard-core:$dropwizardVersion"
implementation "io.dropwizard:dropwizard-jdbi3:$dropwizardVersion"
implementation "io.github.openfeign:feign-core:$openFeignVersion"
implementation "io.github.openfeign:feign-gson:$openFeignVersion"
implementation "javax.activation:activation:$javaxActivationVersion"
implementation "javax.xml.bind:jaxb-api:$jaxbApiVersion"
implementation "org.java-websocket:Java-WebSocket:$javaWebSocketVersion"
implementation "org.jdbi:jdbi3-core:$jdbiVersion"
implementation "org.jdbi:jdbi3-sqlobject:$jdbiVersion"
implementation "triplea:lobby-client:2.6.14759"

testImplementation "com.github.database-rider:rider-junit5:$databaseRiderVersion"
testImplementation "com.github.npathai:hamcrest-optional:2.0.0"
testImplementation "com.sun.mail:jakarta.mail:$jakartaMailVersion"
testImplementation "io.dropwizard:dropwizard-testing:$dropwizardVersion"
testImplementation "org.awaitility:awaitility:$awaitilityVersion"
testImplementation "org.java-websocket:Java-WebSocket:$javaWebsocketVersion"
testImplementation "org.jdbi:jdbi3-core:$jdbiVersion"
testImplementation "org.jdbi:jdbi3-sqlobject:$jdbiVersion"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitJupiterVersion"
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "org.mockito:mockito-junit-jupiter:$mockitoVersion"
testImplementation "org.wiremock:wiremock:3.7.0"
testImplementation "ru.lanwen.wiremock:wiremock-junit5:1.3.1"
testImplementation "uk.co.datumedge:hamcrest-json:$hamcrestJsonVersion"

testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion"
testRuntimeOnly "org.junit.platform:junit-platform-launcher:$junitPlatformLauncherVersion"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 0 additions & 13 deletions http-clients/github-client/build.gradle

This file was deleted.

10 changes: 0 additions & 10 deletions server/database-test-support/build.gradle

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@
import org.triplea.domain.data.ApiKey;
import org.triplea.domain.data.SystemIdLoader;
import org.triplea.http.client.LobbyHttpClientConfig;
import org.triplea.test.common.RequiresDatabase;

@ExtendWith(SpitfireServerTestExtension.class)
@ExtendWith(SpitfireDatabaseTestSupport.class)
@ExtendWith(DBUnitExtension.class)
@DataSet(value = ControllerIntegrationTest.DATA_SETS, useSequenceFiltering = false)
@RequiresDatabase
public abstract class ControllerIntegrationTest {

@BeforeAll
Expand Down
10 changes: 0 additions & 10 deletions server/latest-version-module/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions server/latest-version-module/build.gradle

This file was deleted.

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions server/lobby-module/build.gradle

This file was deleted.

18 changes: 0 additions & 18 deletions server/lobby-module/src/test/resources/logback-test.xml

This file was deleted.

Loading

0 comments on commit 7e9fa75

Please sign in to comment.