diff --git a/README.md b/README.md index 593932c..4670894 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ val markdown = """ """.trimIndent() // -Markdown(markdown, Modifier.fillMaxSize()) +Markdown(markdown) ``` ## Dependency diff --git a/build.gradle.kts b/build.gradle.kts index ec9d7d0..c384326 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,11 +11,11 @@ buildscript { dependencies { classpath("com.android.tools.build:gradle:7.0.3") classpath("com.vanniktech:gradle-maven-publish-plugin:0.18.0") - classpath("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.18.1") + classpath("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.19.0") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31") - classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.5.31") - classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:10.0.0-b01") - classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta6-dev474") + classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.6.0") + classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:10.0.0-b02") + classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0") } } @@ -36,6 +36,6 @@ subprojects { apply(from = "../detekt.gradle") dependencies { - "detektPlugins"("io.gitlab.arturbosch.detekt:detekt-formatting:1.18.1") + "detektPlugins"("io.gitlab.arturbosch.detekt:detekt-formatting:1.19.0") } } \ No newline at end of file diff --git a/compose-desktop/build.gradle.kts b/compose-desktop/build.gradle.kts index 7a376e0..4e5ff40 100644 --- a/compose-desktop/build.gradle.kts +++ b/compose-desktop/build.gradle.kts @@ -8,7 +8,7 @@ plugins { } group = "com.mikepenz" -version = "1.0-SNAPSHOT" +version = "1.0.0" repositories { mavenCentral() diff --git a/gradle.properties b/gradle.properties index ab5d883..d3ba451 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # Maven stuff GROUP=com.mikepenz -VERSION_NAME=0.2.2 -VERSION_CODE=202 +VERSION_NAME=0.3.0 +VERSION_CODE=300 POM_URL=https://github.com/mikepenz/multiplatform-markdown-renderer diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index fbce071..3cd8500 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/Markdown.kt b/multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/Markdown.kt index dd4a729..e8fdc3f 100644 --- a/multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/Markdown.kt +++ b/multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/Markdown.kt @@ -51,7 +51,7 @@ import org.intellij.markdown.parser.MarkdownParser @Composable fun Markdown( content: String, - modifier: Modifier = Modifier, + modifier: Modifier = Modifier.fillMaxSize(), flavour: MarkdownFlavourDescriptor = GFMFlavourDescriptor() ) { Column(modifier) {