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 an opt-in requirement for DokkaPublication#finalizeCoroutines #3868

Draft
wants to merge 1 commit into
base: adam/feat/KT-70336/rename-DokkaInternalApi
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions dokka-runners/dokka-gradle-plugin/api/dokka-gradle-plugin.api
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ public abstract class org/jetbrains/dokka/gradle/engine/parameters/DokkaExternal
public abstract class org/jetbrains/dokka/gradle/engine/parameters/DokkaGeneratorParametersSpec : org/gradle/api/plugins/ExtensionAware {
public final fun getDokkaSourceSets ()Lorg/gradle/api/NamedDomainObjectContainer;
public abstract fun getFailOnWarning ()Lorg/gradle/api/provider/Property;
public abstract fun getFinalizeCoroutines ()Lorg/gradle/api/provider/Property;
public abstract fun getIncludes ()Lorg/gradle/api/file/ConfigurableFileCollection;
public abstract fun getModuleName ()Lorg/gradle/api/provider/Property;
public abstract fun getModuleOutputDirectories ()Lorg/gradle/api/file/ConfigurableFileCollection;
Expand Down Expand Up @@ -507,7 +506,6 @@ public abstract class org/jetbrains/dokka/gradle/formats/DokkaPublication : java
public abstract fun getCacheRoot ()Lorg/gradle/api/file/DirectoryProperty;
public abstract fun getEnabled ()Lorg/gradle/api/provider/Property;
public abstract fun getFailOnWarning ()Lorg/gradle/api/provider/Property;
public abstract fun getFinalizeCoroutines ()Lorg/gradle/api/provider/Property;
public final fun getFormatName ()Ljava/lang/String;
public abstract fun getIncludes ()Lorg/gradle/api/file/ConfigurableFileCollection;
public abstract fun getModuleName ()Lorg/gradle/api/provider/Property;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ constructor(
abstract val moduleOutputDirectories: ConfigurableFileCollection

/** @see org.jetbrains.dokka.gradle.formats.DokkaPublication.finalizeCoroutines */
@InternalDokkaGradlePluginApi
@get:Input
abstract val finalizeCoroutines: Property<Boolean>
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import org.gradle.api.file.DirectoryProperty
import org.gradle.api.plugins.ExtensionAware
import org.gradle.api.provider.Property
import org.jetbrains.dokka.gradle.engine.parameters.DokkaSourceSetSpec
import org.jetbrains.dokka.gradle.internal.InternalDokkaGradlePluginApi
import org.jetbrains.dokka.gradle.internal.DokkaPluginParametersContainer
import org.jetbrains.dokka.gradle.internal.InternalDokkaGradlePluginApi
import org.jetbrains.dokka.gradle.internal.adding
import java.io.Serializable
import javax.inject.Inject
Expand Down Expand Up @@ -149,6 +149,7 @@ constructor(
* This is an internal Dokka Gradle plugin property.
* If you find you need to set this property, please report your use-case https://kotl.in/dokka-issues.
*/
@InternalDokkaGradlePluginApi
abstract val finalizeCoroutines: Property<Boolean>

/**
Expand Down
Loading