summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-01-04 19:25:10 +0500
committerilotterytea <iltsu@alright.party>2025-01-04 19:25:10 +0500
commitf967b2bfd478d1f646d1acb236312d605497a0b9 (patch)
tree4d583308b08cd58ee19366ac3321a75a37b56dac /build.gradle
parent53958edbe7519dc7e842d896d0ada1e0c5cb859a (diff)
feat: 'server' and 'shared' modules
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle21
1 files changed, 21 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 5048921..85f0182 100644
--- a/build.gradle
+++ b/build.gradle
@@ -67,10 +67,30 @@ project(":android") {
}
}
+project(":shared") {
+ apply plugin: "java-library"
+
+ dependencies {}
+}
+
+project(":server") {
+ apply plugin: "java-library"
+
+ dependencies {
+ implementation project(":shared")
+ implementation "com.google.code.gson:gson:$gsonVersion"
+ implementation "org.slf4j:slf4j-api:$slf4jVersion"
+ implementation "ch.qos.logback:logback-classic:$logbackVersion"
+ implementation "ch.qos.logback:logback-core:$logbackVersion"
+ implementation "org.java-websocket:Java-WebSocket:$websocketVersion"
+ }
+}
+
project(":core") {
apply plugin: "java-library"
dependencies {
+ implementation project(":shared")
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "de.golfgl.gdxgamesvcs:gdx-gamesvcs-core:$gamesvcsVersion"
api "com.github.mgsx-dev.gdx-gltf:gltf:$gltfVersion"
@@ -79,6 +99,7 @@ project(":core") {
implementation "ch.qos.logback:logback-classic:$logbackVersion"
implementation "ch.qos.logback:logback-core:$logbackVersion"
implementation "com.github.JnCrMx:discord-game-sdk4j:$discordSdkVersion"
+ implementation "org.java-websocket:Java-WebSocket:$websocketVersion"
}
compileJava.dependsOn writeAllAssetsToFile