Skip to content

Commit

Permalink
fix: kotlin 1.9.21
Browse files Browse the repository at this point in the history
  • Loading branch information
romainbsl committed Nov 30, 2023
1 parent 9dcd7bf commit 234feb8
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
cmake: 3.10.2.4988404
script: ./gradlew connectedCheck
- name: Upload
run: ./gradlew publishAllPublicationsToOssrhStagingRepository -Porg.kodein.sonatype.repositoryId=${{ needs.create-staging-repository.outputs.repository_id }}
run: ./gradlew publishAllPublicationsToOssrhStagingRepository -Porg.kodein.sonatype.repositoryId=${{ needs.create-staging-repository.outputs.repository-id }}
shell: bash

drop-or-release:
Expand Down
4 changes: 1 addition & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ plugins {
alias(libs.plugins.ksp) apply false
}

kodein.experimentalCompose(libs.versions.jbCompose)

allprojects {
group = "org.kodein.di"
version = "7.21.0"
version = "7.21.1"
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
plugins {
kodein.library.android
alias(libs.plugins.compose)
}

dependencies {
api(projects.framework.compose.kodeinDiFrameworkCompose)
implementation(libs.android.compose.navigation)
implementation(platform(libs.compose.bom))
implementation(libs.compose.runtime)
implementation(libs.android.x.compose.navigation)
implementation(platform(libs.android.compose.bom))
implementation(libs.android.compose.runtime)
}

android {
namespace = "org.kodein.di.compose.android"
buildFeatures {
compose = true
}
Expand All @@ -18,8 +20,8 @@ android {
}
}

android {
namespace = "org.kodein.di.compose.android"
compose {
kotlinCompilerPlugin.set(libs.versions.compose.compiler.get())
}

kodeinUpload {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ plugins {
kotlin.kodein {
jsEnv()

// allComposeStable()
// 1.5.11 does not work with compose WasmJS yet
allComposeExperimental()

common.mainDependencies {
Expand All @@ -21,6 +23,10 @@ kotlin.kodein {
}
}

compose {
kotlinCompilerPlugin.set(libs.versions.compose.compiler.get())
}

android {
namespace = "org.kodein.di.compose"
}
Expand Down
12 changes: 6 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[versions]
# Core
kaverit = "2.8.0"
kaverit = "2.8.1"
# Android
android-appcompat = "28.0.0"
androidx-appcompat = "1.6.1"
androidx-fragment = "1.6.2"
androidx-lifecycle = "2.6.2"
androidx-compose = "2.7.5"
# Compose
jbCompose = "1.5.10-dev-wasm02"
compose-compiler = "1.5.4"
jbCompose = "1.5.10-dev-wasm03"
compose-compiler = "1.5.5"
compose-bom = "2023.10.01"
# KSP
kotlinpoet = "1.14.2"
Expand Down Expand Up @@ -37,9 +37,9 @@ android-x-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version.re
android-x-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle" }
android-x-lifecycle-viewmodel-savedstate = { module = "androidx.lifecycle:lifecycle-viewmodel-savedstate", version.ref = "androidx-lifecycle" }
android-x-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidx-lifecycle" }
android-compose-navigation = { module = "androidx.navigation:navigation-compose", version.ref = "androidx-compose" }
compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" }
compose-runtime = { module = "androidx.compose.runtime:runtime" }
android-x-compose-navigation = { module = "androidx.navigation:navigation-compose", version.ref = "androidx-compose" }
android-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" }
android-compose-runtime = { module = "androidx.compose.runtime:runtime" }
# KSP
kotlinpoet = { module = "com.squareup:kotlinpoet", version.ref = "kotlinpoet" }
kotlinpoet-ksp = { module = "com.squareup:kotlinpoet-ksp", version.ref = "kotlinpoet" }
Expand Down
3 changes: 2 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import org.kodein.internal.gradle.settings.framework
buildscript {
repositories {
mavenLocal()
gradlePluginPortal()
maven(url = "https://raw.githubusercontent.com/kosi-libs/kodein-internal-gradle-plugin/mvn-repo")
}
dependencies {
classpath("org.kodein.internal.gradle:kodein-internal-gradle-settings:8.3.1")
classpath("org.kodein.internal.gradle:kodein-internal-gradle-settings:8.5.1")
}
}

Expand Down

0 comments on commit 234feb8

Please sign in to comment.