Skip to content

Commit

Permalink
Fix gradle dependencies to be in 3.5.3 style
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudgiuliani committed Apr 11, 2024
1 parent 1f1f98f commit e075354
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion projects/android/koin-android-compat/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ android {
}

dependencies {
implementation(project(":android:koin-android"))
api(project(":android:koin-android"))
}

// android sources
Expand Down
7 changes: 3 additions & 4 deletions projects/android/koin-android-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ android {
}

dependencies {
implementation(kotlin("reflect"))
implementation(project(":android:koin-android"))
implementation(project(":android:koin-androidx-workmanager"))
implementation(project(":core:koin-test"))
api(project(":android:koin-android"))
api(project(":android:koin-androidx-workmanager"))
api(project(":core:koin-test"))
// Test
testImplementation(libs.test.junit)
testImplementation(libs.test.mockito)
Expand Down
2 changes: 1 addition & 1 deletion projects/android/koin-androidx-navigation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {
}

dependencies {
implementation(project(":android:koin-android"))
api(project(":android:koin-android"))
api(libs.androidx.navigation)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {
}

dependencies {
implementation(project(":android:koin-android"))
api(project(":android:koin-android"))
api(libs.androidx.workmanager)

// Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ android {
}

dependencies {
implementation(project(":compose:koin-androidx-compose"))
implementation(libs.androidx.composeNavigation)
api(project(":compose:koin-androidx-compose"))
api(libs.androidx.composeNavigation)
}

// android sources
Expand Down
4 changes: 2 additions & 2 deletions projects/compose/koin-androidx-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ android {
dependencies {
api(project(":android:koin-android"))
api(project(":compose:koin-compose"))
implementation(libs.androidx.composeRuntime)
implementation(libs.androidx.composeViewModel)
api(libs.androidx.composeRuntime)
api(libs.androidx.composeViewModel)
}

// android sources
Expand Down
2 changes: 1 addition & 1 deletion projects/compose/koin-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kotlin {
sourceSets {
commonMain.dependencies {
api(project(":core:koin-core"))
implementation(libs.compose.jb)
api(libs.compose.jb)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion projects/core/koin-core-coroutines/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ kotlin {
sourceSets {
commonMain.dependencies {
api(project(":core:koin-core"))
implementation(libs.kotlin.coroutines)
api(libs.kotlin.coroutines)
}
commonTest.dependencies {
implementation(libs.kotlin.test)
Expand Down
4 changes: 2 additions & 2 deletions projects/core/koin-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ kotlin {

sourceSets {
commonMain.dependencies {
implementation(libs.extras.stately)
implementation(libs.extras.stately.collections)
api(libs.extras.stately)
api(libs.extras.stately.collections)
}
commonTest.dependencies {
implementation(libs.kotlin.test)
Expand Down
2 changes: 1 addition & 1 deletion projects/core/koin-test-junit4/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

dependencies {
api(project(":core:koin-test"))
implementation(libs.test.junit)
api(libs.test.junit)
testImplementation(libs.kotlin.test)
testImplementation(libs.test.mockito)
}
Expand Down
2 changes: 1 addition & 1 deletion projects/core/koin-test-junit5/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

dependencies {
api(project(":core:koin-test"))
implementation(libs.test.jupiter)
api(libs.test.jupiter)
testImplementation(libs.test.mockito)
}

Expand Down
4 changes: 2 additions & 2 deletions projects/core/koin-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ kotlin {
commonMain.dependencies {
api(project(":core:koin-core"))
//TODO remove in 3.6
implementation(libs.kotlin.test)
api(libs.kotlin.test)
}
jvmMain.dependencies {
implementation(kotlin("reflect"))
api(kotlin("reflect"))
}
commonTest.dependencies {
implementation(libs.kotlin.test)
Expand Down
4 changes: 2 additions & 2 deletions projects/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ org.gradle.parallel=true
kotlin.code.style=official

#Koin
koinVersion=3.5.5
koinComposeVersion=1.1.4
koinVersion=3.5.6
koinComposeVersion=1.1.5

#Compose
composeCompiler=1.5.10
Expand Down
2 changes: 1 addition & 1 deletion projects/ktor/koin-logger-slf4j/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

dependencies {
api(project(":core:koin-core"))
implementation(libs.ktor.slf4j)
api(libs.ktor.slf4j)
}

tasks.withType<KotlinCompile>().all {
Expand Down

0 comments on commit e075354

Please sign in to comment.