Basicly refactord the entire project into a modular nature

This commit is contained in:
Zacharias committed 2025-02-20 23:28:24 +01:00
1 parent 6935e938a3
commit b892306c09
26 files changed
+340 -145

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
plugins {
id 'java'
}
group = 'me.zacharias'
version = '1.0-SNAPSHOT'
dependencies {
implementation project(":Core")
}
test {
useJUnitPlatform()
}
jar{
manifest {
attributes 'Main-Class': 'me.zacharias.char.api.APIServer'
}
}
@@ -0,0 +1,12 @@
package me.zacharias.chat.api;
public enum APIEndpoints {
// API request endpoints
ADD_TOOL,
QUERY,
// API response endpoints
RESPONSE,
USE_TOOL,
}
@@ -0,0 +1,13 @@
package me.zacharias.chat.api;
import java.net.ServerSocket;
import java.util.ArrayList;
public class APIServer {
ArrayList<Client> clientsList = new ArrayList<>();
ServerSocket serverSocket;
public APIServer(int port, String redirectedOutput) {
}
}
@@ -0,0 +1,4 @@
package me.zacharias.chat.api;
public class Client {
}