[Gradle] Rename KotlinExtensionPoint to KotlinGradlePluginExtensionPoint

KT-61634
This commit is contained in:
Sebastian Sellmair
2023-10-10 10:17:48 +02:00
committed by Space Team
parent d471a5ed4a
commit 4c15509776
7 changed files with 21 additions and 26 deletions
@@ -896,7 +896,7 @@ public abstract interface class org/jetbrains/kotlin/gradle/plugin/KotlinExecuti
public abstract interface class org/jetbrains/kotlin/gradle/plugin/KotlinExecution$ExecutionSource {
}
public abstract interface class org/jetbrains/kotlin/gradle/plugin/KotlinExtensionPoint {
public abstract interface class org/jetbrains/kotlin/gradle/plugin/KotlinGradlePluginExtensionPoint {
public abstract fun get (Lorg/gradle/api/Project;)Ljava/util/List;
public abstract fun register (Lorg/gradle/api/Project;Ljava/lang/Object;)V
}
@@ -14,7 +14,7 @@ import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
* Note: Not stable for implementation: Custom implementations of this interface will not be supported by the Kotlin Gradle Plugin!
*
* #### Motivation
* This [KotlinExtensionPoint] will be used to 'generically' extend parts of the Kotlin Gradle Plugin (internally and externally).
* This [KotlinGradlePluginExtensionPoint] will be used to 'generically' extend parts of the Kotlin Gradle Plugin (internally and externally).
* General Kotlin Gradle Plugin code will call into this 'semantically' structured extension points to load logic
* Such extension points are to be used for public as well as for internal extension points.
*
@@ -46,7 +46,7 @@ import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
* [org.jetbrains.kotlin.gradle.plugin.registerKotlinPluginExtensions] entry point.
*/
@ExperimentalKotlinGradlePluginApi
interface KotlinExtensionPoint<T> {
interface KotlinGradlePluginExtensionPoint<T> {
/**
* @return all currently registered extension points.
* The returned list is *not* live and just represents the current snapshot.