Skip to content

Commit 59d75eb

Browse files
authored
Merge pull request #364 from mikepenz/feature/stability
Refine stability
2 parents bb97412 + f10d5cb commit 59d75eb

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

multiplatform-markdown-renderer/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ android {
99
namespace = "com.mikepenz.markdown"
1010
}
1111

12+
composeCompiler {
13+
stabilityConfigurationFiles.add(project.layout.projectDirectory.file("stability_config.conf"))
14+
}
15+
1216
dependencies {
1317
commonMainApi(libs.markdown)
1418
commonMainApi(baseLibs.kotlinx.collections.immutable)

multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/model/MarkdownState.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ data class Input(
114114
/**
115115
* The current state of the [MarkdownState].
116116
*/
117+
@Stable
117118
sealed interface State {
118119

119120
/** The [ReferenceLinkHandler] to store links in. */
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Consider the `ASTNode` stable
2+
org.intellij.markdown.ast.ASTNode
3+
// Consider the `IElementType` stable
4+
org.intellij.markdown.IElementType

0 commit comments

Comments
 (0)