update to LittleKt 0.4.0 and kotlin 1.7.20

This commit is contained in:
LeHaine 2022-10-16 15:06:23 -04:00
parent 1f0def0f1c
commit d5b5887597
No known key found for this signature in database
GPG key ID: 8AEC4F9B9F33E9AC
3 changed files with 5 additions and 5 deletions

View file

@ -31,7 +31,7 @@ class Game(context: Context) : ContextListener(context) {
batch.use(camera.viewProjection) {
Fonts.default.draw(it, "Hello LittleKt!", 0f, 0f)
shapeRenderer.filledRectangle(-50f, 50f, 100f, 50f, rotation, color = Color.RED.toFloatBits())
shapeRenderer.filledRectangle(-25f, 50f, 100f, 50f, rotation, color = Color.RED.toFloatBits())
}
rotationTimer += dt
if (rotationTimer > 10.milliseconds) {

View file

@ -12,8 +12,8 @@ kotlin.native.enableDependencyPropagation=false
kotlin.js.generate.executable.default=false
#Android
android.compileSdk=31
android.targetSdk=31
android.compileSdk=33
android.targetSdk=33
android.minSdk=21
android.disableAutomaticComponentCreation=true

View file

@ -1,11 +1,11 @@
[versions]
plugin-android = "7.0.4"
plugin-kotlin = "1.7.0"
plugin-kotlin = "1.7.20"
kotlinx-html = "0.7.2"
kotlinx-coroutines = "1.6.4"
littlekt = "0.3.0"
littlekt = "0.4.0"
[libraries]
plugin-android = { module = "com.android.tools.build:gradle", version.ref = "plugin-android" }