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

Use new version management syntax [library catalog syntax] #762

Open
SamuelMarks opened this issue Oct 18, 2024 · 1 comment
Open

Use new version management syntax [library catalog syntax] #762

SamuelMarks opened this issue Oct 18, 2024 · 1 comment

Comments

@SamuelMarks
Copy link

SamuelMarks commented Oct 18, 2024

For example, what I have:

composeApp/build.gradle.kts

// kotlin.sourceSets.commonMain.dependencies
implementation(libs.bom)
implementation(libs.postgrest_kt)
implementation(libs.auth_kt)
implementation(libs.realtime_kt)

gradle/libs.versions.toml

[versions]
supabase-kt = "3.0.1"

[libraries]
auth-kt = { module = "io.github.jan-tennert.supabase:auth-kt", version.ref = "supabase-kt" }
postgrest-kt = { module = "io.github.jan-tennert.supabase:postgrest-kt", version.ref = "supabase-kt" }
realtime-kt = { module = "io.github.jan-tennert.supabase:realtime-kt", version.ref = "supabase-kt" }
bom = { module = "io.github.jan-tennert.supabase:bom", version.ref = "supabase-kt" }
@jan-tennert
Copy link
Collaborator

jan-tennert commented Oct 19, 2024

What exactly is the problem? If you want to use the bom dependency, you have to use implementation(platform(libs.bom))
But you are already specifying the version for each lib in the catalog, so you dont need it

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