Skip to content

Commit

Permalink
Try updating Kotlin to 2.0.21 .
Browse files Browse the repository at this point in the history
There are currently issues with Kotlin on Android, using the rearranged dependencies that Construo currently needs. Construo shouldn't need anything rearranged in user projects. I'll see what can be done.
  • Loading branch information
tommyettinger committed Oct 19, 2024
1 parent f52ed5c commit e03473a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Liftoff can see it (using [JetBrains Toolbox](https://www.jetbrains.com/toolbox-
If you want to use Kotlin, a Kotlin template is recommended (such as `Kotlin Logo`); these mention that they use "Kotlin
launchers" in their descriptions. The KTX libraries are all available as third-party extensions; these aren't required
for Kotlin projects, but they can be helpful. KTX and other Kotlin-based libraries need Kotlin enabled. Currently,
projects generated here default to using Kotlin 2.0.20, which may have some incompatibilities with the earlier 1.9.x
projects generated here default to using Kotlin 2.0.21, which may have some incompatibilities with the earlier 1.9.x
releases. You could instead set the version to the newest 1.9.x release (currently 1.9.25), in the Languages dialog,
when you select Kotlin as an option. The 2.x series of releases claims a number of nice improvements, however, and most
libraries appear to be either very close to compatible, or are compatible already. Liftoff itself is built using Kotlin
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.daemon=false
org.gradle.jvmargs=-Xms512M -Xmx1G -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8
liftoffVersion=1.13.0.0-SNAPSHOT
#kotlinVersion=1.9.25
kotlinVersion=2.0.20
kotlinVersion=2.0.21
gdxVersion=1.13.0
lmlVersion=1.10.1.12.1
#visUiVersion=1.5.3
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/gdx/liftoff/data/languages/Kotlin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import gdx.liftoff.views.JvmLanguage
@Suppress("unused") // Class accessed via reflection.
class Kotlin : Language {
override val id = "kotlin"
override val version = "2.0.20"
override val version = "2.0.21"

override fun initiate(project: Project) {
project.rootGradle.buildDependencies.add("\"org.jetbrains.kotlin:kotlin-gradle-plugin:\$kotlinVersion\"")
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ui-data/defaults.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extensionsDefaultNames=
thirdPartyDefaultNames=
templateDefaultName=classic
groovyDefaultVersion=4.0.22
kotlinDefaultVersion=2.0.20
kotlinDefaultVersion=2.0.21
scalaDefaultVersion=3.5.0
libgdxDefaultVersion=1.13.0
javaDefaultVersion=11
Expand Down

0 comments on commit e03473a

Please sign in to comment.