File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ kotlin {
29
29
androidTarget()
30
30
iosX64()
31
31
// ...
32
+
33
+ // Might need to add this if you cannot see generated code in your IDE
34
+ sourceSets.named(" commonMain" ).configure {
35
+ kotlin.srcDir(" build/generated/ksp/metadata/commonMain/kotlin" )
36
+ }
32
37
}
33
38
34
39
dependencies {
@@ -38,4 +43,12 @@ dependencies {
38
43
add(" kspJvm" , " io.github.jan-tennert.supabase:ksp-compiler:VERSION" )
39
44
add(" kspAndroid" , " io.github.jan-tennert.supabase:ksp-compiler:VERSION" )
40
45
add(" kspIosX64" , " io.github.jan-tennert.supabase:ksp-compiler:VERSION" )
41
- }
46
+ }
47
+
48
+ // Might need to add this if you cannot see generated code in your IDE
49
+ project.tasks.withType(KotlinCompilationTask ::class .java).configureEach {
50
+ if (name != " kspCommonMainKotlinMetadata" ) {
51
+ dependsOn(" kspCommonMainKotlinMetadata" )
52
+ }
53
+ }
54
+ ```
You can’t perform that action at this time.
0 commit comments