From 7f172c9953acd8e6bf967310e2c2121baa7e9a22 Mon Sep 17 00:00:00 2001 From: Tommy Ettinger Date: Wed, 23 Oct 2024 01:51:19 -0700 Subject: [PATCH] Update to Construo 1.4.3 . --- build.gradle | 3 ++- gradle.properties | 2 +- src/main/kotlin/gdx/liftoff/config/Configuration.kt | 2 +- src/main/kotlin/gdx/liftoff/data/platforms/Lwjgl3.kt | 4 +++- src/main/resources/ui-data/defaults.properties | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 9fc813bb..c32ae191 100644 --- a/build.gradle +++ b/build.gradle @@ -9,16 +9,17 @@ buildscript { google() } dependencies { + classpath "io.github.fourlastor:construo:1.4.3" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath "org.jlleitschuh.gradle:ktlint-gradle:11.5.0" } } plugins { - id "io.github.fourlastor.construo" version "1.4.2" id "application" } +apply plugin: 'io.github.fourlastor.construo' apply plugin: 'org.jetbrains.kotlin.jvm' apply plugin: 'kotlin' apply plugin: 'java-library' diff --git a/gradle.properties b/gradle.properties index 73298632..5cce60ca 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ org.gradle.daemon=false org.gradle.jvmargs=-Xms512M -Xmx1G -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 -liftoffVersion=1.13.0.0 +liftoffVersion=1.13.0.1-SNAPSHOT #kotlinVersion=1.9.25 kotlinVersion=2.0.21 gdxVersion=1.13.0 diff --git a/src/main/kotlin/gdx/liftoff/config/Configuration.kt b/src/main/kotlin/gdx/liftoff/config/Configuration.kt index 335fa393..1f83f3a0 100644 --- a/src/main/kotlin/gdx/liftoff/config/Configuration.kt +++ b/src/main/kotlin/gdx/liftoff/config/Configuration.kt @@ -37,7 +37,7 @@ import gdx.liftoff.views.widgets.ScrollableTextArea @Suppress("unused") // Fields accessed via reflection. class Configuration { companion object { - const val VERSION = "1.13.0.0" + const val VERSION = "1.13.0.1-SNAPSHOT" const val WIDTH = 600 const val HEIGHT = 700 const val PREFERENCES_PATH = "gdx-liftoff-prefs" diff --git a/src/main/kotlin/gdx/liftoff/data/platforms/Lwjgl3.kt b/src/main/kotlin/gdx/liftoff/data/platforms/Lwjgl3.kt index d6bcaa92..a9ae990f 100644 --- a/src/main/kotlin/gdx/liftoff/data/platforms/Lwjgl3.kt +++ b/src/main/kotlin/gdx/liftoff/data/platforms/Lwjgl3.kt @@ -137,7 +137,7 @@ buildscript { gradlePluginPortal() } dependencies { - classpath "io.github.fourlastor:construo:1.4.2" + classpath "io.github.fourlastor:construo:1.4.3" if(enableGraalNative == 'true') { classpath "org.graalvm.buildtools.native:org.graalvm.buildtools.native.gradle.plugin:0.9.28" } @@ -237,6 +237,8 @@ construo { create("winX64", Target.Windows) { architecture.set(Target.Architecture.X86_64) jdkUrl.set("https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jdk_x64_windows_hotspot_17.0.12_7.zip") + // Uncomment the next line to show a console when the game runs, to print messages. + //useConsole.set(true) } } } diff --git a/src/main/resources/ui-data/defaults.properties b/src/main/resources/ui-data/defaults.properties index 86f747bd..02cc9fd1 100644 --- a/src/main/resources/ui-data/defaults.properties +++ b/src/main/resources/ui-data/defaults.properties @@ -1,4 +1,4 @@ -liftoffVersion=1.13.0.0 +liftoffVersion=1.13.0.1-SNAPSHOT projectNameDefault=YourProjectName packageNameDefault=io.github.some_example_name mainClassNameDefault=Main