Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Koin Starter Dependency Issue #388

Open
frozenjava opened this issue Dec 30, 2024 · 3 comments
Open

Koin Starter Dependency Issue #388

frozenjava opened this issue Dec 30, 2024 · 3 comments

Comments

@frozenjava
Copy link

Hello there seems to be an issue resolving the koin starter dependency for any version beyond 2.1.0 (3.0.0, 3.1.0, 3.1.1, 3.1.2).

mvnrepository.com claims that these versions exist and the documentation doesn't say anything about this dependency being versioned separately.

Is 2.1.0 the expected version to use even if I am using 3.1.2 for kediatr-core?

Screenshot 2024-12-30 at 5 29 53 PM
Screenshot 2024-12-30 at 5 30 21 PM
Screenshot 2024-12-30 at 5 31 05 PM

@osoykan
Copy link
Collaborator

osoykan commented Jan 2, 2025

Hi, you can use the latest version for all the packages, there shouldn't be version mismatches between the packages.
In other words, packages should share the same version.

$version = 3.1.2
kediatr-core: $version
kediatr-koin: $version

@frozenjava
Copy link
Author

Thanks for the response, that's what I figured but if I try to use kediator-koin-starter: 3.1.2 it doesnt resolve. No versions after 2.1.0 resolve.

kediatr-core = { module = "com.trendyol:kediatr-core", version = "3.1.2" }
kediatr-koin = { module = "com.trendyol:kediatr-koin-starter", version = "3.1.2" } # this doesnt resolve
kediatr-core = { module = "com.trendyol:kediatr-core", version = "3.1.2" }
kediatr-koin = { module = "com.trendyol:kediatr-koin-starter", version = "2.1.0" } # this DOES resolve

@osoykan
Copy link
Collaborator

osoykan commented Jan 3, 2025

That's strange behavior, it is listed on maven, and I am using the 3.1.2 version already in other projects. I suspect from repository sources and JDK Version.

Check 1:

// settings.gradle.kts
dependencyResolutionManagement {
  repositories {
    mavenCentral()
    maven("https://oss.sonatype.org/content/repositories/snapshots")
    maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
  }
}

Check 2:

// build.gradle.kts
  kotlin {
    jvmToolchain(17)
 }

Worth giving a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants