Skip to content

Conversation

@lizard-boy
Copy link

No description provided.

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This pull request expands multiplatform support across various Wire project modules, focusing on native targets and build configurations.

  • Added numerous native targets (Android, iOS, Linux, macOS, Windows, tvOS, watchOS, WebAssembly) in wire-grpc-client/build.gradle.kts and wire-runtime/build.gradle.kts
  • Changed samples/js/build.gradle.kts from kotlin("js") to kotlin("multiplatform") for future platform expansion
  • Simplified JVM target configurations in wire-schema-tests/build.gradle.kts and wire-schema/build.gradle.kts
  • Added wireRuntimeVariants.txt detailing build variants and configurations for wire-runtime library

6 file(s) reviewed, 4 comment(s)
Edit PR Review Bot Settings

Comment on lines 40 to +41
iosSimulatorArm64()
// Required to generate tests tasks: https://youtrack.jetbrains.com/issue/KT-26547
linuxX64()
macosX64()
iosSimulatorArm64()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: iosSimulatorArm64() is duplicated on lines 40 and 41

Comment on lines +103 to +104
iosSimulatorArm64Main,
iosSimulatorArm64Main,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: iosSimulatorArm64Main is duplicated in the list

}

for (it in listOf(iosX64Main, iosArm64Main, macosX64Main, macosArm64Main, tvosX64Main, tvosArm64Main)) {
for (it in listOf(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: The darwinMain source set is being used for non-Darwin platforms. Consider creating a separate source set for Android and Linux targets.

browser()
}
}
if (System.getProperty("knative", "true").toBoolean()) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Consider grouping targets by platform (e.g., iOS, tvOS, watchOS) for better readability.

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.

3 participants