Skip to content

Commit

Permalink
Remove semver public function for the SemverSettingsExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierSegoviaCordoba committed Oct 8, 2024
1 parent 1bd3d0a commit 8622665
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,3 @@ public final class com/javiersc/semver/settings/gradle/plugin/SemverSettingsPlug
public final synthetic fun execute (Ljava/lang/Object;)V
}

public final class com/javiersc/semver/settings/gradle/plugin/SemverSettingsPluginKt {
public static final fun semver (Lorg/gradle/api/initialization/Settings;Lorg/gradle/api/Action;)V
}

Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
package com.javiersc.semver.settings.gradle.plugin

import com.javiersc.semver.project.gradle.plugin.SemverExtension
import org.gradle.api.Action
import org.gradle.api.Plugin
import org.gradle.api.initialization.Settings
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.getByType

public class SemverSettingsPlugin : Plugin<Settings> {

Expand All @@ -27,7 +25,3 @@ public class SemverSettingsPlugin : Plugin<Settings> {
}
}
}

public fun Settings.semver(action: Action<SemverSettingsExtension>) {
action.execute(extensions.getByType())
}

0 comments on commit 8622665

Please sign in to comment.