-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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
andwire-runtime/build.gradle.kts
- Changed
samples/js/build.gradle.kts
fromkotlin("js")
tokotlin("multiplatform")
for future platform expansion - Simplified JVM target configurations in
wire-schema-tests/build.gradle.kts
andwire-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
iosSimulatorArm64() | ||
// Required to generate tests tasks: https://youtrack.jetbrains.com/issue/KT-26547 | ||
linuxX64() | ||
macosX64() | ||
iosSimulatorArm64() |
There was a problem hiding this comment.
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
iosSimulatorArm64Main, | ||
iosSimulatorArm64Main, |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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()) { |
There was a problem hiding this comment.
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.
No description provided.