bulk replace of package names to hopefully fix location error

This commit is contained in:
Bryson Steck 2023-05-16 22:43:38 -06:00
parent 966571cac7
commit eb8709af14
10 changed files with 15 additions and 14 deletions

View file

@ -53,7 +53,7 @@ dependencies {
application { application {
// Define the main class for the application. // Define the main class for the application.
mainClass = 'xyz.brysonsteck.servercraft.MainKt' mainClass = 'xyz.brysonsteck.ServerCraft.MainKt'
applicationName = "ServerCraft" applicationName = "ServerCraft"
} }
@ -75,7 +75,7 @@ jar {
} }
task pack(type: io.github.fvarrui.javapackager.gradle.PackageTask, dependsOn: build) { task pack(type: io.github.fvarrui.javapackager.gradle.PackageTask, dependsOn: build) {
mainClass = 'xyz.brysonsteck.servercraft.MainKt' mainClass = 'xyz.brysonsteck.ServerCraft.MainKt'
bundleJre = true bundleJre = true
generateInstaller = true generateInstaller = true
administratorRequired = false administratorRequired = false
@ -112,3 +112,4 @@ javafx {
version = "20" version = "20"
modules = ['javafx.controls', 'javafx.fxml', 'javafx.graphics'] modules = ['javafx.controls', 'javafx.fxml', 'javafx.graphics']
} }

View file

@ -1,7 +1,7 @@
/* /*
* This Kotlin source file was generated by the Gradle 'init' task. * 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.application.Application;
import javafx.fxml.FXMLLoader; import javafx.fxml.FXMLLoader;

View file

@ -1,4 +1,4 @@
package xyz.brysonsteck.servercraft package xyz.brysonsteck.ServerCraft
fun main() { fun main() {
App().run() App().run()

View file

@ -1,4 +1,4 @@
package xyz.brysonsteck.servercraft.controllers package xyz.brysonsteck.ServerCraft.controllers
import javafx.fxml.FXML import javafx.fxml.FXML
import javafx.application.Platform import javafx.application.Platform

View file

@ -1,4 +1,4 @@
package xyz.brysonsteck.servercraft.controllers package xyz.brysonsteck.ServerCraft.controllers
import kotlinx.coroutines.* import kotlinx.coroutines.*
import kotlinx.coroutines.javafx.JavaFx import kotlinx.coroutines.javafx.JavaFx
@ -52,9 +52,9 @@ import javafx.stage.Stage
import javafx.event.EventHandler import javafx.event.EventHandler
import org.rauschig.jarchivelib.* import org.rauschig.jarchivelib.*
import xyz.brysonsteck.servercraft.server.Server import xyz.brysonsteck.ServerCraft.server.Server
import xyz.brysonsteck.servercraft.server.Download import xyz.brysonsteck.ServerCraft.server.Download
import xyz.brysonsteck.servercraft.App import xyz.brysonsteck.ServerCraft.App
class PrimaryController { class PrimaryController {
@FXML @FXML

View file

@ -1,4 +1,4 @@
package xyz.brysonsteck.servercraft.server package xyz.brysonsteck.ServerCraft.server
import java.io.*; import java.io.*;
import java.net.*; import java.net.*;

View file

@ -1,4 +1,4 @@
package xyz.brysonsteck.servercraft.server package xyz.brysonsteck.ServerCraft.server
import java.io.File import java.io.File
import java.util.Properties import java.util.Properties

View file

@ -15,7 +15,7 @@
<?import javafx.scene.layout.VBox?> <?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?> <?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> <children>
<ImageView fitHeight="115.0" fitWidth="92.0" layoutX="30.0" layoutY="30.0" pickOnBounds="true" preserveRatio="true"> <ImageView fitHeight="115.0" fitWidth="92.0" layoutX="30.0" layoutY="30.0" pickOnBounds="true" preserveRatio="true">
<image> <image>

View file

@ -20,7 +20,7 @@
<?import javafx.scene.layout.Pane?> <?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Font?> <?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> <children>
<HBox fx:id="directoryPane" prefHeight="39.0" prefWidth="963.0"> <HBox fx:id="directoryPane" prefHeight="39.0" prefWidth="963.0">
<children> <children>

View file

@ -1,7 +1,7 @@
/* /*
* This Kotlin source file was generated by the Gradle 'init' task. * 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.Test
import kotlin.test.assertNotNull import kotlin.test.assertNotNull