Skip to content

Commit

Permalink
Merge pull request #9 from joreilly/kotlin_1_8
Browse files Browse the repository at this point in the history
Kotlin 1.8
  • Loading branch information
joreilly authored Jan 21, 2023
2 parents af4cdf8 + 241b56b commit 98a3a4a
Show file tree
Hide file tree
Showing 12 changed files with 2,383 additions and 48 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# WordMasterKMP

![kotlin-version](https://img.shields.io/badge/kotlin-1.8.0-orange)

Kotlin Multiplatform sample heavily inspired by [Wordle](https://www.powerlanguage.co.uk/wordle/) game and also [Word Master](https://github.com/octokatherine/word-master) and [wordle-solver](https://github.com/dlew/wordle-solver) samples. The main game logic/state is included in shared KMP code with basic UI then in following clients
- iOS (SwiftUI)
- Android (Jetpack Compose)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package dev.johnoreilly.wordmaster.androidApp

import android.annotation.SuppressLint
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
Expand Down Expand Up @@ -44,6 +45,7 @@ class MainActivity : ComponentActivity() {
}
}

@SuppressLint("UnusedMaterialScaffoldPaddingParameter")
@Composable
fun MainLayout() {
Scaffold(
Expand Down
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ buildscript {

dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlinVersion}")
classpath("com.android.tools.build:gradle:7.1.3")
classpath("com.android.tools.build:gradle:7.4.0")
classpath("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.8.0-1.0.8")
classpath("com.rickclephas.kmp:kmp-nativecoroutines-gradle-plugin:${Versions.kmpNativeCoroutines}")
}
}
Expand Down
10 changes: 5 additions & 5 deletions buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

object Versions {
const val kotlinVersion = "1.7.20"
const val kotlinVersion = "1.8.0"
const val kotlinCoroutines = "1.6.4"

const val compose = "1.3.0-rc01"
const val composeCompiler = "1.3.2"
const val composeDesktopWeb = "1.2.0"
const val compose = "1.4.0-alpha03"
const val composeCompiler = "1.4.0"
const val composeDesktopWeb = "1.3.0-rc05"
const val navCompose = "2.5.2"
const val accompanist = "0.26.2-beta"
const val okio = "3.0.0"

const val kmpNativeCoroutines = "0.13.1"
const val kmpNativeCoroutines = "1.0.0-ALPHA-4"

const val junit = "4.13"
}
Expand Down
Loading

0 comments on commit 98a3a4a

Please sign in to comment.