Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 27, 2024
1 parent e22467c commit 583589d
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 12 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ buildscript {
}
}

plugins {
alias(libs.plugins.jetbrains.compose) apply false
alias(libs.plugins.compose.compiler) apply false
}

allprojects {
repositories {
google()
Expand Down
8 changes: 6 additions & 2 deletions desktop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ buildscript {
}
dependencies {
classpath libs.kotlin.gradle.plugin
classpath libs.compose.gradle.plugin
}
}

plugins {
alias(libs.plugins.jetbrains.compose)
alias(libs.plugins.compose.compiler)
}

repositories {
mavenCentral()
maven {
Expand All @@ -22,7 +26,6 @@ repositories {
}

apply plugin: "kotlin-multiplatform"
apply plugin: "org.jetbrains.compose"

kotlin {
jvm {
Expand All @@ -34,6 +37,7 @@ kotlin {
jvmMain {
dependencies {
implementation compose.desktop.currentOs
implementation libs.jetbrains.compose.runtime
implementation project(":shared")
}
}
Expand Down
20 changes: 16 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@

[versions]

kotlin = "1.9.22"
kotlin = "2.0.21"

gradle-android = '8.3.0-alpha12'
gradle-android = '8.9.0-alpha03'

compose = '1.5.12'
compose = '1.7.1'

compose-compiler = '1.5.8'
compose-plugin = '1.7.1'

compose-compiler = '1.5.15'

junit = "4.13.2"

[plugins]

jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "compose-plugin" }

compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }

[libraries]

kotlin-gradle-plugin = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version.ref = "kotlin" }
Expand All @@ -20,6 +28,10 @@ com-android-tools-build-gradle = { group = "com.android.tools.build", name="grad

compose-gradle-plugin = { group = "org.jetbrains.compose", name="compose-gradle-plugin", version.ref = 'compose' }

jetbrains-compose-runtime = { group ="org.jetbrains.compose.runtime", name="runtime", version.ref = 'compose' }

androidx-compose-runtime = { group = "androidx.compose.runtime", name="runtime", version.ref = "compose" }

desktop-jvm-windows-x64 = { group = "org.jetbrains.compose.desktop", name="desktop-jvm-windows-x64", version.ref = 'compose' }

kotlin-scripting-compiler-embeddable = { group = "org.jetbrains.kotlin", name = "kotlin-scripting-compiler-embeddable", version.ref = "kotlin" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pluginManagement {

plugins {
// See https://jmfayard.github.io/refreshVersions
id("de.fayard.refreshVersions") version "0.60.4"
id("de.fayard.refreshVersions") version "0.60.5"
}

rootProject.name = "chesskt"
Expand Down
12 changes: 9 additions & 3 deletions shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ plugins {
kotlin("native.cocoapods")
id("com.android.library")
id("maven-publish")
alias(libs.plugins.jetbrains.compose)
alias(libs.plugins.compose.compiler)
}

group = "com.krossovochkin.chess"
Expand All @@ -28,7 +30,11 @@ kotlin {
}

sourceSets {
val commonMain by getting
val commonMain by getting {
dependencies {
implementation(libs.jetbrains.compose.runtime)
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
Expand Down Expand Up @@ -78,11 +84,11 @@ kotlin {
}

android {
compileSdk = 34
compileSdk = 35
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
defaultConfig {
minSdk = 24
targetSdk = 34
targetSdk = 35
}
kotlin {
jvmToolchain(17)
Expand Down
2 changes: 1 addition & 1 deletion versions.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#### Dependencies and Plugin versions with their available updates.
#### Generated by `./gradlew refreshVersions` version 0.60.3
#### Generated by `./gradlew refreshVersions` version 0.60.4
####
#### Don't manually edit or split the comments that start with four hashtags (####),
#### they will be overwritten by refreshVersions.
Expand Down

0 comments on commit 583589d

Please sign in to comment.