From eb8709af1483696f4053bfea12f912201294826f Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 16 May 2023 22:43:38 -0600 Subject: bulk replace of package names to hopefully fix location error --- app/build.gradle | 5 +++-- app/src/main/kotlin/xyz/brysonsteck/ServerCraft/App.kt | 2 +- app/src/main/kotlin/xyz/brysonsteck/ServerCraft/Main.kt | 2 +- .../xyz/brysonsteck/ServerCraft/controllers/InfoController.kt | 2 +- .../xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt | 8 ++++---- .../main/kotlin/xyz/brysonsteck/ServerCraft/server/Download.kt | 2 +- app/src/main/kotlin/xyz/brysonsteck/ServerCraft/server/Server.kt | 2 +- app/src/main/resources/xyz/brysonsteck/ServerCraft/info.fxml | 2 +- app/src/main/resources/xyz/brysonsteck/ServerCraft/primary.fxml | 2 +- app/src/test/kotlin/xyz/brysonsteck/serverfordummies/AppTest.kt | 2 +- 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 @@ - + 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 @@ - + 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 -- cgit v1.2.3