Skip to content

Commit

Permalink
deprecate level ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-enko committed Oct 21, 2024
1 parent 8968b4f commit af9850b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import org.jetbrains.dokka.gradle.workers.ClassLoaderIsolation
import org.jetbrains.dokka.gradle.workers.ProcessIsolation
import org.jetbrains.dokka.gradle.workers.WorkerIsolation
import java.io.Serializable
import kotlin.DeprecationLevel.ERROR

/**
* Configure the behaviour of the [DokkaBasePlugin].
Expand Down Expand Up @@ -196,7 +197,11 @@ constructor(
//region deprecated properties
/** Deprecated. Use [basePublicationsDirectory] instead. */
// Deprecated in 2.0.0-Beta. Remove when Dokka 2.0.0 is released.
@Deprecated("Renamed to basePublicationsDirectory", ReplaceWith("basePublicationsDirectory"))
@Deprecated(
"Renamed to basePublicationsDirectory",
ReplaceWith("basePublicationsDirectory"),
level = ERROR,
)
@Suppress("unused")
val dokkaPublicationDirectory: DirectoryProperty
get() = basePublicationsDirectory
Expand Down

0 comments on commit af9850b

Please sign in to comment.