@@ -10,8 +10,8 @@ For information about supported Kotlin targets, see the corresponding module REA
1010
1111[ ![ ] ( https://img.shields.io/github/release/supabase-community/supabase-kt?label=stable )] ( https://github.com/supabase-community/supabase-kt/releases )
1212[ ![ ] ( https://badgen.net/github/release/supabase-community/supabase-kt?label=prerelease )] ( https://central.sonatype.com/search?q=io.github.jan.supabase&smo=true )
13- [ ![ Kotlin] ( https://img.shields.io/badge/kotlin-2.1.10 -blue.svg?logo=kotlin )] ( http://kotlinlang.org )
14- [ ![ Ktor] ( https://img.shields.io/badge/ktor-3.1.1 -blue )] ( https://ktor.io/ )
13+ [ ![ Kotlin] ( https://img.shields.io/badge/kotlin-2.2.0 -blue.svg?logo=kotlin )] ( http://kotlinlang.org )
14+ [ ![ Ktor] ( https://img.shields.io/badge/ktor-3.2.0 -blue )] ( https://ktor.io/ )
1515[ ![ slack] ( https://img.shields.io/badge/slack-%23supabase--kt-purple.svg?logo=slack )] ( https://kotlinlang.slack.com/archives/C06QXPC7064 )
1616
1717[ ![ ko-fi] ( https://www.ko-fi.com/img/githubbutton_sm.svg )] ( https://ko-fi.com/jantennert )
@@ -74,27 +74,29 @@ implementation("io.ktor:ktor-client-[engine]:VERSION")
7474For targets: ` jvm ` , ` android ` , ` js ` , ` ios `
7575
7676``` kotlin
77- val commonMain by getting {
78- dependencies {
79- // supabase modules
77+ sourceSets {
78+ commonMain {
79+ dependencies {
80+ // Supabase modules
81+ }
8082 }
81- }
82- val jvmMain by getting {
83- dependencies {
84- implementation( " io.ktor:ktor-client-cio:KTOR_VERSION " )
83+ jvmMain {
84+ dependencies {
85+ implementation( " io.ktor:ktor-client-cio:KTOR_VERSION " )
86+ }
8587 }
86- }
87- val androidMain by getting {
88- dependsOn(jvmMain)
89- }
90- val jsMain by getting {
91- dependencies {
92- implementation(" io.ktor:ktor-client-js:KTOR_VERSION" )
88+ androidMain {
89+ dependsOn(jvmMain.get())
9390 }
94- }
95- val iosMain by getting {
96- dependencies {
97- implementation(" io.ktor:ktor-client-darwin:KTOR_VERSION" )
91+ jsMain {
92+ dependencies {
93+ implementation(" io.ktor:ktor-client-js:KTOR_VERSION" )
94+ }
95+ }
96+ iosMain {
97+ dependencies {
98+ implementation(" io.ktor:ktor-client-darwin:KTOR_VERSION" )
99+ }
98100 }
99101}
100102```
@@ -103,7 +105,7 @@ val iosMain by getting {
103105** Note:** It is recommended to use the same Ktor version as supabase-kt:
104106
105107__ For 3.0.0 and above:__
106- [ ![ Ktor] ( https://img.shields.io/badge/ktor-3.1.1 -blue )] ( https://ktor.io/ )
108+ [ ![ Ktor] ( https://img.shields.io/badge/ktor-3.2.0 -blue )] ( https://ktor.io/ )
107109
108110__ For versions below 3.0.0:__
109111[ ![ Ktor] ( https://img.shields.io/badge/ktor-2.3.12-blue )] ( https://ktor.io/ )
0 commit comments