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

Make compatible with Gradle 8 #58

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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