aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle5
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/ServerCraft/App.kt2
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/ServerCraft/Main.kt2
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/InfoController.kt2
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt8
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Download.kt2
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Server.kt2
-rw-r--r--app/src/main/resources/xyz/brysonsteck/ServerCraft/info.fxml2
-rw-r--r--app/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml2
-rw-r--r--app/src/test/kotlin/xyz/brysonsteck/serverfordummies/AppTest.kt2
10 files changed, 15 insertions, 14 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 2122a79..5270585 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -53,7 +53,7 @@ dependencies {
application {
// Define the main class for the application.
- mainClass = 'xyz.brysonsteck.servercraft.MainKt'
+ mainClass = 'xyz.brysonsteck.ServerCraft.MainKt'
applicationName = "ServerCraft"
}
@@ -75,7 +75,7 @@ jar {
}
task pack(type: io.github.fvarrui.javapackager.gradle.PackageTask, dependsOn: build) {
- mainClass = 'xyz.brysonsteck.servercraft.MainKt'
+ mainClass = 'xyz.brysonsteck.ServerCraft.MainKt'
bundleJre = true
generateInstaller = true
administratorRequired = false
@@ -112,3 +112,4 @@ javafx {
version = "20"
modules = ['javafx.controls', 'javafx.fxml', 'javafx.graphics']
}
+
diff --git a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/App.kt b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/App.kt
index 7aa5639..5b5ddac 100644
--- a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/App.kt
+++ b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/App.kt
@@ -1,7 +1,7 @@
/*
* This Kotlin source file was generated by the Gradle 'init' task.
*/
-package xyz.brysonsteck.servercraft
+package xyz.brysonsteck.ServerCraft
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
diff --git a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/Main.kt b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/Main.kt
index e914e99..fbb61e4 100644
--- a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/Main.kt
+++ b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/Main.kt
@@ -1,4 +1,4 @@
-package xyz.brysonsteck.servercraft
+package xyz.brysonsteck.ServerCraft
fun main() {
App().run()
diff --git a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/InfoController.kt b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/InfoController.kt
index a4bdb18..dcf77ba 100644
--- a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/InfoController.kt
+++ b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/InfoController.kt
@@ -1,4 +1,4 @@
-package xyz.brysonsteck.servercraft.controllers
+package xyz.brysonsteck.ServerCraft.controllers
import javafx.fxml.FXML
import javafx.application.Platform
diff --git a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt
index cad547d..99d1009 100644
--- a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt
+++ b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt
@@ -1,4 +1,4 @@
-package xyz.brysonsteck.servercraft.controllers
+package xyz.brysonsteck.ServerCraft.controllers
import kotlinx.coroutines.*
import kotlinx.coroutines.javafx.JavaFx
@@ -52,9 +52,9 @@ import javafx.stage.Stage
import javafx.event.EventHandler
import org.rauschig.jarchivelib.*
-import xyz.brysonsteck.servercraft.server.Server
-import xyz.brysonsteck.servercraft.server.Download
-import xyz.brysonsteck.servercraft.App
+import xyz.brysonsteck.ServerCraft.server.Server
+import xyz.brysonsteck.ServerCraft.server.Download
+import xyz.brysonsteck.ServerCraft.App
class PrimaryController {
@FXML
diff --git a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Download.kt b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Download.kt
index a10ff69..757c32c 100644
--- a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Download.kt
+++ b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Download.kt
@@ -1,4 +1,4 @@
-package xyz.brysonsteck.servercraft.server
+package xyz.brysonsteck.ServerCraft.server
import java.io.*;
import java.net.*;
diff --git a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Server.kt b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Server.kt
index 38e79a1..746bc55 100644
--- a/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Server.kt
+++ b/app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Server.kt
@@ -1,4 +1,4 @@
-package xyz.brysonsteck.servercraft.server
+package xyz.brysonsteck.ServerCraft.server
import java.io.File
import java.util.Properties
diff --git a/app/src/main/resources/xyz/brysonsteck/ServerCraft/info.fxml b/app/src/main/resources/xyz/brysonsteck/ServerCraft/info.fxml
index 9228a2b..f0b73f3 100644
--- a/app/src/main/resources/xyz/brysonsteck/ServerCraft/info.fxml
+++ b/app/src/main/resources/xyz/brysonsteck/ServerCraft/info.fxml
@@ -15,7 +15,7 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
-<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="358.0" prefWidth="398.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="xyz.brysonsteck.servercraft.controllers.InfoController">
+<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="358.0" prefWidth="398.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="xyz.brysonsteck.ServerCraft.controllers.InfoController">
<children>
<ImageView fitHeight="115.0" fitWidth="92.0" layoutX="30.0" layoutY="30.0" pickOnBounds="true" preserveRatio="true">
<image>
diff --git a/app/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml b/app/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml
index dfdadd7..6b34102 100644
--- a/app/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml
+++ b/app/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml
@@ -20,7 +20,7 @@
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Font?>
-<Pane fx:id="primary" maxHeight="713.0" maxWidth="963.0" minHeight="713.0" minWidth="963.0" prefHeight="713.0" prefWidth="963.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="xyz.brysonsteck.servercraft.controllers.PrimaryController">
+<Pane fx:id="primary" maxHeight="713.0" maxWidth="963.0" minHeight="713.0" minWidth="963.0" prefHeight="713.0" prefWidth="963.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="xyz.brysonsteck.ServerCraft.controllers.PrimaryController">
<children>
<HBox fx:id="directoryPane" prefHeight="39.0" prefWidth="963.0">
<children>
diff --git a/app/src/test/kotlin/xyz/brysonsteck/serverfordummies/AppTest.kt b/app/src/test/kotlin/xyz/brysonsteck/serverfordummies/AppTest.kt
index 0376e26..aca9105 100644
--- a/app/src/test/kotlin/xyz/brysonsteck/serverfordummies/AppTest.kt
+++ b/app/src/test/kotlin/xyz/brysonsteck/serverfordummies/AppTest.kt
@@ -1,7 +1,7 @@
/*
* This Kotlin source file was generated by the Gradle 'init' task.
*/
-package xyz.brysonsteck.servercraft
+package xyz.brysonsteck.ServerCraft
import kotlin.test.Test
import kotlin.test.assertNotNull