-
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
fix: move user setting to mail server, add test #88
Conversation
@@ -42,6 +44,13 @@ class TaskPreparer(project: Project, | |||
|
|||
project.tasks.register ("start${getExtensionName()}", StartExtraContainer::class.java) { task -> | |||
configureContainerTask(task) | |||
|
|||
val os: OperatingSystem = DefaultNativePlatform.getCurrentOperatingSystem() |
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.
Using an internal class will make upgrade much trickier.
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.
Maybe alternatively use System.getProperty("os.name")
?
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.
Yes, you are correct - it is internal and a method with System.getProperty is possible. I asked StackOverflow for an approach that is working on different OSs. This internal API is not the only one and I think they will create also an external API.
is fixed at master (skiesewetter) |
No description provided.