From d5f7286af10628823fb6f6d6ea5aa36c63aa0508 Mon Sep 17 00:00:00 2001 From: Stefan Naujokat Date: Thu, 25 Aug 2022 17:44:00 +0200 Subject: [PATCH] Fix wrong main class in build config of bgw-net protocol client --- CHANGELOG.md | 3 +++ bgw-net/bgw-net-protocol-client/build.gradle.kts | 2 +- .../tools/aqua/bgw/net/protocol/client/view/ConnectionScene.kt | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cfe50bd13..f36f5e1e25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,9 @@ All notable changes to this project will be documented in this file. - Spectator join feature in bgw-net. - PasswordField. +### Fixed +- Wrong main class in build config of bgw-net protocol client + ## [0.7.2] - 14.08.2022 ### Added diff --git a/bgw-net/bgw-net-protocol-client/build.gradle.kts b/bgw-net/bgw-net-protocol-client/build.gradle.kts index c649c23658..78260e499f 100644 --- a/bgw-net/bgw-net-protocol-client/build.gradle.kts +++ b/bgw-net/bgw-net-protocol-client/build.gradle.kts @@ -28,4 +28,4 @@ dependencies { implementation(project(":bgw-net:bgw-net-client")) } -application { mainClass.set("tools.aqua.bgw.examples.tetris.main.MainKt") } +application { mainClass.set("tools.aqua.bgw.net.protocol.client.main.MainKt") } diff --git a/bgw-net/bgw-net-protocol-client/src/main/kotlin/tools/aqua/bgw/net/protocol/client/view/ConnectionScene.kt b/bgw-net/bgw-net-protocol-client/src/main/kotlin/tools/aqua/bgw/net/protocol/client/view/ConnectionScene.kt index 7cd5e10362..338230e55d 100644 --- a/bgw-net/bgw-net-protocol-client/src/main/kotlin/tools/aqua/bgw/net/protocol/client/view/ConnectionScene.kt +++ b/bgw-net/bgw-net-protocol-client/src/main/kotlin/tools/aqua/bgw/net/protocol/client/view/ConnectionScene.kt @@ -32,7 +32,7 @@ class ConnectionScene : BoardGameScene(height = 800, width = 500, background = C posY = 50, height = 40, width = width - 100, - text = "sopra.cs.tu-dortmund.de:80/bgw-net/connect", + text = "", prompt = "Server address") /** [TextField] for the network secret. */