Skip to content

Conversation

@marty-suzuki
Copy link

@marty-suzuki marty-suzuki commented Aug 16, 2023

The source code generated by kspCommonMainMetadata from /build/generated/ksp/metadata/commonMain/kotlin was being set as the srcDir for the iosMain source set.
However, this setup resulted in errors when using Gradle 8.
As a solution, I attempted to specify options like kspIosArm64, but this led to a TypeMirror error, as documented in square/kotlinpoet#1273.

In order to make koru compatible with Gradle 8, the following changes were made:

  • Replaced Xxx::class with Xxx::class.asTypeName() cba6d5a 21cad65
  • Stopped using kspCommonMainMetadata with the CompilerPlugin and instead retrieved Apple-related configurations from the configurations and set them accordingly. 7a05ff7

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

Successfully merging this pull request may close these issues.

1 participant