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

Adding targets #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

it.dependsOn(nativeTest)
}

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.

@@ -36,18 +35,30 @@ kotlin {
}
}
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.

2 participants