diff options
| author | Kostya <mail@sartin.in> | 2026-08-09 14:46:25 +0300 |
|---|---|---|
| committer | Kostya <mail@sartin.in> | 2026-08-09 14:46:25 +0300 |
| commit | 34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13 (patch) | |
| tree | 17d9c867856ff9f1de4a59f63c13d6abf0ecb31e /modules/api/src | |
| parent | 18a9b6e4f3c9f7e034a0c174a5e2cd6c043ee169 (diff) | |
| download | guess-market-34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13.tar.gz guess-market-34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13.tar.xz guess-market-34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13.zip | |
flatten modules to repo root, vendor deps, repair Eclipse build paths
Move api, engine, ui-console and ui-desktop out of modules/ up to the
repo root and drop the empty exception project (GuessMarketException now
lives in api).
Vendor gson, jaxb, okhttp, openjfx and tomcat under lib/, and group the
JUnit standalone jar into lib/junit/ alongside them.
Rewrite every .classpath: drop the copy-pasted optional="true" that was
masking real build path errors, point the library entries at ../lib/,
and put the JUnit jar on the test source folders so the placeholder
AppTest classes compile.
ui-desktop: take the JavaFX jars off the modulepath (there is no
module-info.java, so module="true" left the packages unresolvable) and
add a Launcher that calls Application.launch, avoiding the "JavaFX
runtime components are missing" check without VM arguments.
engine: add LocalGuessMarketService and the GuessMarketContext provider
interface, and give GuessMarketException the no-arg and cause
constructors they need.
Diffstat (limited to 'modules/api/src')
7 files changed, 0 insertions, 30 deletions
diff --git a/modules/api/src/main/java/market/guess/api/Commission.java b/modules/api/src/main/java/market/guess/api/Commission.java deleted file mode 100644 index 96cab8a..0000000 --- a/modules/api/src/main/java/market/guess/api/Commission.java +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
| 2 | |||
| 3 | public record Commission(CommissionChargeType type, int percentage) {} | ||
diff --git a/modules/api/src/main/java/market/guess/api/CommissionChargeType.java b/modules/api/src/main/java/market/guess/api/CommissionChargeType.java deleted file mode 100644 index 75e409b..0000000 --- a/modules/api/src/main/java/market/guess/api/CommissionChargeType.java +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
| 2 | |||
| 3 | public enum CommissionChargeType { | ||
| 4 | ON_CLOSE, | ||
| 5 | ON_PURCHASE | ||
| 6 | } | ||
diff --git a/modules/api/src/main/java/market/guess/api/EventDTO.java b/modules/api/src/main/java/market/guess/api/EventDTO.java deleted file mode 100644 index 66b2312..0000000 --- a/modules/api/src/main/java/market/guess/api/EventDTO.java +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
diff --git a/modules/api/src/main/java/market/guess/api/EventStatus.java b/modules/api/src/main/java/market/guess/api/EventStatus.java deleted file mode 100644 index acd7542..0000000 --- a/modules/api/src/main/java/market/guess/api/EventStatus.java +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
| 2 | |||
| 3 | public enum EventStatus { | ||
| 4 | NOT_STARTED, | ||
| 5 | ACTIVE, | ||
| 6 | CLOSED | ||
| 7 | } | ||
diff --git a/modules/api/src/main/java/market/guess/api/LoadResultDTO.java b/modules/api/src/main/java/market/guess/api/LoadResultDTO.java deleted file mode 100644 index cf3630b..0000000 --- a/modules/api/src/main/java/market/guess/api/LoadResultDTO.java +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
| 2 | |||
| 3 | public record LoadResultDTO() {} | ||
diff --git a/modules/api/src/main/java/market/guess/exception/GuessMarketException.java b/modules/api/src/main/java/market/guess/exception/GuessMarketException.java deleted file mode 100644 index 68a3053..0000000 --- a/modules/api/src/main/java/market/guess/exception/GuessMarketException.java +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | package market.guess.exception; | ||
| 2 | |||
| 3 | public class GuessMarketException extends Exception { | ||
| 4 | public GuessMarketException(String message) { | ||
| 5 | super(message); | ||
| 6 | } | ||
| 7 | } | ||
diff --git a/modules/api/src/test/java/market/guess/api/AppTest.java b/modules/api/src/test/java/market/guess/api/AppTest.java deleted file mode 100644 index 0b08c28..0000000 --- a/modules/api/src/test/java/market/guess/api/AppTest.java +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | package com.example; | ||
| 2 | |||
| 3 | public class AppTest {} | ||