Skip to content

Commit

Permalink
libGDX and Kotlin version updates. #462
Browse files Browse the repository at this point in the history
  • Loading branch information
czyzby committed Jul 4, 2023
1 parent c04a9f0 commit 6e04225
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 10 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
_See also: [the official libGDX changelog](https://github.com/libgdx/libgdx/blob/master/CHANGES)._

#### 1.11.0-SNAPSHOT
#### 1.12.0-SNAPSHOT

- **[UPDATE]** Updated to libGDX 1.12.0.
- **[UPDATE]** Updated to Kotlin 1.8.22.
- **[UPDATE]** Updated to Kotlin Coroutines 1.7.2.
- **[FEATURE]** (`ktx-app`) `KtxInputAdapter` now supports the `touchCancelled` event handling.
By default, it calls the `touchUp` method for consistency with the previous libGDX versions.

#### 1.11.0-rc6

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![GitHub Build](https://github.com/libktx/ktx/workflows/build/badge.svg)](https://github.com/libktx/ktx/actions?query=workflow%3Abuild)
[![Kotlin](https://img.shields.io/badge/kotlin-1.8.21-orange.svg)](http://kotlinlang.org/)
[![libGDX](https://img.shields.io/badge/libgdx-1.11.0-red.svg)](https://libgdx.com/)
[![Kotlin](https://img.shields.io/badge/kotlin-1.8.22-orange.svg)](http://kotlinlang.org/)
[![libGDX](https://img.shields.io/badge/libgdx-1.12.0-red.svg)](https://libgdx.com/)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.libktx/ktx-async.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.libktx%22)

[![KTX](.github/ktx-logo.png "KTX")](http://libktx.github.io)
Expand Down Expand Up @@ -305,7 +305,7 @@ repositories {
ext {
// Update this version to match the latest libGDX release:
ktxVersion = '1.11.0-SNAPSHOT'
ktxVersion = '1.12.0-SNAPSHOT'
}
```

Expand All @@ -320,7 +320,7 @@ repositories {
}

// Update this version to match the latest libGDX release:
val ktxVersion = "1.11.0-SNAPSHOT"
val ktxVersion = "1.12.0-SNAPSHOT"
```

</details>
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/kotlin/ktx/app/application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ interface KtxInputAdapter : InputProcessor {
override fun scrolled(amountX: Float, amountY: Float) = false
override fun touchDown(screenX: Int, screenY: Int, pointer: Int, button: Int) = false
override fun touchDragged(screenX: Int, screenY: Int, pointer: Int) = false
/** Calls [InputProcessor.touchUp] for consistency with libGDX 1.11.0 and older. Override for custom handling. */
override fun touchCancelled(screenX: Int, screenY: Int, pointer: Int, button: Int) =
touchUp(screenX, screenY, pointer, button)
}
2 changes: 1 addition & 1 deletion async/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Kotlin Coroutines](https://img.shields.io/badge/kotlin--coroutines-1.7.1-orange.svg)](http://kotlinlang.org/)
[![Kotlin Coroutines](https://img.shields.io/badge/kotlin--coroutines-1.7.2-orange.svg)](http://kotlinlang.org/)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.libktx/ktx-async.svg)](https://search.maven.org/artifact/io.github.libktx/ktx-async)

# KTX: Coroutines support and parallelization utilities
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/ktx/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ktx

const val gdxVersion = "1.11.0"
const val kotlinCoroutinesVersion = "1.7.1"
const val gdxVersion = "1.12.0"
const val kotlinCoroutinesVersion = "1.7.2"

const val artemisOdbVersion = "2.3.0"
const val ashleyVersion = "1.7.4"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
libGroup=io.github.libktx

kotlinVersion=1.8.21
kotlinVersion=1.8.22

dokkaVersion=1.8.10
junitPlatformVersion=1.2.0
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0-SNAPSHOT
1.12.0-SNAPSHOT

0 comments on commit 6e04225

Please sign in to comment.