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

Add swiftLibrary and swiftApplication software types #55

Merged
merged 7 commits into from
May 22, 2024
Merged

Conversation

adammurdoch
Copy link
Member

No description provided.

@adammurdoch adammurdoch self-assigned this May 13, 2024
import org.gradle.declarative.dsl.model.annotations.Restricted;

@Restricted
public interface HasSwiftTarget {
Copy link
Member

Choose a reason for hiding this comment

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

🤔 I don't think this name makes sense. The target is implicit and not visible in the DSL, the name makes it sound like an implementing type would have a getTarget() method defined (which would then hold the version property).

Could we call it SwiftProject or CompilesToSwift or something instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

The target is absolutely both explicit and visible in the DSL, as the swiftVersion property.

There's a bunch of interfaces with this naming scheme, we can do a pass over them and improve their names.

@adammurdoch adammurdoch merged commit 6ffa208 into main May 22, 2024
1 of 2 checks passed
@adammurdoch adammurdoch deleted the am/swift branch May 22, 2024 21:37
@oleg-nenashev oleg-nenashev added the enhancement New feature or request label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants