Skip to content

Commit

Permalink
Integrate Moduli in Sumatra again
Browse files Browse the repository at this point in the history
See merge request main/Sumatra!1904

sumatra-commit: 18f3ba02cd02403e475899908dd499a92dcd209f
  • Loading branch information
g3force authored and TIGERs GitLab committed Feb 22, 2025
1 parent c9d5877 commit e6a0421
Show file tree
Hide file tree
Showing 73 changed files with 4,367 additions and 50 deletions.
6 changes: 2 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ com-fasterxml-jackson-core-jackson-databind = { module = "com.fasterxml.jackson.
com-github-TIGERs-Mannheim-infonode = "com.github.TIGERs-Mannheim:infonode:1.7.0"
com-github-TIGERs-Mannheim-jinput = "com.github.TIGERs-Mannheim.jinput:jinput:2.0.10.1"
com-github-TIGERs-Mannheim-matlabcontrol = "com.github.TIGERs-Mannheim.matlabcontrol:matlabcontrol:4.1.2"
com-github-TIGERs-Mannheim-moduli = "com.github.TIGERs-Mannheim:moduli:4.1"
com-github-TIGERs-Mannheim-ssl-game-controller-maven = "com.github.TIGERs-Mannheim:ssl-game-controller-maven:3.12.8.1"
com-github-g3force-configurable = "com.github.g3force:configurable:3.0"
com-github-g3force-instanceables = "com.github.g3force:instanceables:5.2"
com-github-g3force-string2ValueConverter = "com.github.g3force:String2ValueConverter:2.2.1"
com-google-guava = "com.google.guava:guava:33.4.0-jre"
com-google-protobuf-protobuf-java = { module = "com.google.protobuf:protobuf-java", version.ref = "com-google-protobuf" }
com-google-protobuf-protobuf-java-util = { module = "com.google.protobuf:protobuf-java-util", version.ref = "com-google-protobuf" }
Expand All @@ -37,6 +33,7 @@ com-miglayout-miglayout-core = { module = "com.miglayout:miglayout-core", versio
com-miglayout-miglayout-swing = { module = "com.miglayout:miglayout-swing", version.ref = "com-miglayout" }
commons-cli = "commons-cli:commons-cli:1.9.0"
commons-codec = "commons-codec:commons-codec:1.17.2"
commons-collections = "commons-collections:commons-collections:3.2.1"
commons-configuration = "commons-configuration:commons-configuration:1.10"
commons-io = "commons-io:commons-io:2.18.0"
commons-lang = "commons-lang:commons-lang:2.6"
Expand All @@ -59,6 +56,7 @@ org-apache-logging-log4j-log4j-slf4j2-impl = { module = "org.apache.logging.log4
org-assertj-assertj-core = "org.assertj:assertj-core:3.27.2"
org-hamcrest = "org.hamcrest:hamcrest:3.0"
org-influxdb-influxdb-java = "org.influxdb:influxdb-java:2.24"
org-jgraph-jgraph-core = "org.jgrapht:jgrapht-core:1.5.1"
org-junit-jupiter-junit-jupiter = "org.junit.jupiter:junit-jupiter:5.11.4"
org-junit-platform-junit-platform-launcher = "org.junit.platform:junit-platform-launcher:1.11.4"
org-junit-vintage-junit-vintage-engine = "org.junit.vintage:junit-vintage-engine:5.11.4"
Expand Down
4 changes: 2 additions & 2 deletions modules/autoreferee-gui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
}

dependencies {
implementation project(':common')
implementation project(':common-math')
implementation project(':common-gui')
implementation project(':sumatra-model')
Expand All @@ -16,8 +17,7 @@ dependencies {
implementation project(':moduli-wp')
implementation project(':moduli-geometry')

implementation(libs.com.github.TIGERs.mannheim.moduli)
implementation(libs.com.github.g3force.configurable)
implementation project(':moduli')

implementation(libs.commons.lang)
implementation(libs.com.miglayout.miglayout.swing)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import edu.tigers.autoreferee.engine.log.RefereeGameEventGameLogEntry;
import edu.tigers.autoreferee.engine.log.RefereeGameEventProposalGameLogEntry;
import edu.tigers.autoreferee.module.AutoRefModule;
import edu.tigers.moduli.listenerVariables.ModulesState;
import edu.tigers.moduli.ModulesState;
import edu.tigers.sumatra.components.EnumCheckBoxPanel;
import edu.tigers.sumatra.model.SumatraModel;
import edu.tigers.sumatra.referee.data.GameEventProposalGroup;
Expand Down
3 changes: 1 addition & 2 deletions modules/common-gui-config/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ plugins {
}

dependencies {
implementation project(':common')
implementation project(':common-gui')
implementation project(':sumatra-model')

implementation(libs.com.github.g3force.configurable)
implementation(libs.com.github.g3force.string2ValueConverter)

implementation(libs.commons.configuration)

Expand Down
2 changes: 1 addition & 1 deletion modules/common-gui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {
implementation project(':moduli-record')

implementation(libs.com.github.TIGERs.mannheim.infonode)
api(libs.com.github.TIGERs.mannheim.moduli)
api project(':moduli')

implementation(libs.commons.configuration)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package edu.tigers.sumatra.views;

import edu.tigers.moduli.IModuliStateObserver;
import edu.tigers.moduli.listenerVariables.ModulesState;
import edu.tigers.moduli.ModulesState;

import java.util.List;

Expand Down
2 changes: 0 additions & 2 deletions modules/common-math/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ plugins {
}

dependencies {
implementation(libs.com.github.g3force.string2ValueConverter)

api(libs.org.apache.commons.commons.math3)
implementation(libs.commons.lang)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Copyright (c) 2009 - 2017, DHBW Mannheim - TIGERs Mannheim
#

edu.tigers.sumatra.math.vector.VectorConverter
edu.tigers.sumatra.math.pose.PoseConverter
com.github.g3force.s2vconverter.VectorConverter
com.github.g3force.s2vconverter.PoseConverter
4 changes: 3 additions & 1 deletion modules/common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ dependencies {
api project(':common-math')

implementation(libs.com.github.TIGERs.mannheim.matlabcontrol)
implementation(libs.com.github.g3force.string2ValueConverter)

implementation(libs.commons.lang)
implementation(libs.commons.configuration)
implementation(libs.org.apache.commons.commons.math3)

implementation(libs.org.apache.logging.log4j.log4j.api)
Expand All @@ -27,7 +27,9 @@ dependencies {
implementation(libs.com.googlecode.json.simple)

testImplementation(libs.org.hamcrest)
testImplementation(libs.org.assertj.assertj.core)
testImplementation(libs.org.openjdk.jmh.jmh.core)
testRuntimeOnly(libs.commons.collections)
testAnnotationProcessor(libs.org.openjdk.jmh.jmh.generator.annprocess)
}

Expand Down
4 changes: 4 additions & 0 deletions modules/common/config/read.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration base="com.github.g3force.configurable.ConfigClass4">
<testStoredDifferent>42</testStoredDifferent>
</configuration>
Loading

0 comments on commit e6a0421

Please sign in to comment.