-
Notifications
You must be signed in to change notification settings - Fork 0
chore: update project dependencies to use type-safe accessors and bump version to 1.21.11-2.61.0 #238
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
chore: update project dependencies to use type-safe accessors and bump version to 1.21.11-2.61.0 #238
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| package dev.slne.surf.surfapi.gradle.settings | ||
|
|
||
| import org.gradle.api.Plugin | ||
| import org.gradle.api.initialization.Settings | ||
|
|
||
| internal class SurfSettingsPlugin : Plugin<Settings> { | ||
| override fun apply(target: Settings) { | ||
| target.enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") | ||
| } | ||
| } | ||
|
Comment on lines
+6
to
+10
|
||
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.
This PR introduces a dedicated settings plugin (
dev.slne.surf.surfapi.gradle.settings) that enablesTYPESAFE_PROJECT_ACCESSORS, but the rootsettings.gradle.ktsstill enables the feature preview directly. To avoid having two competing ways to configure the same toggle, either (a) apply the settings plugin here and remove the direct call, or (b) remove the settings plugin entirely if it isn’t intended to be used.