diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2021-04-08 10:07:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 10:07:28 +0200 |
commit | c20d1170254d2251d868dd114c599020d42dbb72 (patch) | |
tree | 968196a78dd9ba4ae72a82732f2ad3fd93a297d3 | |
parent | 4b7a7e088f3be9ee5f515aa0f39911d5534c4406 (diff) | |
download | dokka-c20d1170254d2251d868dd114c599020d42dbb72.tar.gz dokka-c20d1170254d2251d868dd114c599020d42dbb72.tar.bz2 dokka-c20d1170254d2251d868dd114c599020d42dbb72.zip |
Bump kotlinx html to 0.7.3 (#1819)
* Bump kotlinx html to 0.7.3
* Update repositories
-rw-r--r-- | build.gradle.kts | 5 | ||||
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | integration-tests/gradle/projects/template.root.gradle.kts | 5 | ||||
-rw-r--r-- | integration-tests/maven/projects/biojava/biojava.diff | 6 | ||||
-rw-r--r-- | integration-tests/maven/projects/it-maven/pom.xml | 5 | ||||
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/Tags.kt | 2 |
6 files changed, 22 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index dcbba232..2b3d1a18 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,6 +36,11 @@ allprojects { mavenCentral() maven(url = "https://dl.bintray.com/kotlin/kotlin-eap") maven(url = "https://dl.bintray.com/kotlin/kotlin-dev") + maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") { + content { + includeGroup("org.jetbrains.kotlinx") + } + } } } diff --git a/gradle.properties b/gradle.properties index cdec05d3..bf8888b9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ dokka_integration_test_parallelism=2 # Versions kotlin_version=1.4.32 coroutines_version=1.4.1 -kotlinx_html_version=0.7.2 +kotlinx_html_version=0.7.3 kotlin_plugin_version=212-1.4.32-release-IJ1314 idea_version=202.7660.26 language_version=1.4 diff --git a/integration-tests/gradle/projects/template.root.gradle.kts b/integration-tests/gradle/projects/template.root.gradle.kts index f76d616b..f63c28e7 100644 --- a/integration-tests/gradle/projects/template.root.gradle.kts +++ b/integration-tests/gradle/projects/template.root.gradle.kts @@ -6,6 +6,11 @@ allprojects { google() maven("https://cache-redirector.jetbrains.com/dl.bintray.com/kotlin/kotlin-eap") maven("https://cache-redirector.jetbrains.com/dl.bintray.com/kotlin/kotlin-dev") + maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") { + content { + includeGroup("org.jetbrains.kotlinx") + } + } } } diff --git a/integration-tests/maven/projects/biojava/biojava.diff b/integration-tests/maven/projects/biojava/biojava.diff index 84fbe50f..8b27c4ff 100644 --- a/integration-tests/maven/projects/biojava/biojava.diff +++ b/integration-tests/maven/projects/biojava/biojava.diff @@ -2,7 +2,7 @@ diff --git a/biojava-core/pom.xml b/biojava-core/pom.xml index 6cc9c6c9a..ef4f28225 100644 --- a/biojava-core/pom.xml +++ b/biojava-core/pom.xml -@@ -22,9 +22,36 @@ +@@ -26,9 +26,40 @@ </license> </licenses> @@ -19,6 +19,10 @@ index 6cc9c6c9a..ef4f28225 100644 + <id>jcenter</id> + <url>https://jcenter.bintray.com/</url> + </pluginRepository> ++ <pluginRepository> ++ <id>space</id> ++ <url>https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven/</url> ++ </pluginRepository> + </pluginRepositories> + <build> diff --git a/integration-tests/maven/projects/it-maven/pom.xml b/integration-tests/maven/projects/it-maven/pom.xml index 8c027d72..cfc8ba66 100644 --- a/integration-tests/maven/projects/it-maven/pom.xml +++ b/integration-tests/maven/projects/it-maven/pom.xml @@ -171,6 +171,11 @@ <name>JCenter</name> <url>https://cache-redirector.jetbrains.com/jcenter.bintray.com/</url> </pluginRepository> + <pluginRepository> + <id>Space</id> + <name>Space</name> + <url>https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven/</url> + </pluginRepository> </pluginRepositories> <dependencies> diff --git a/plugins/base/src/main/kotlin/renderers/html/Tags.kt b/plugins/base/src/main/kotlin/renderers/html/Tags.kt index 0da16a1a..729fc966 100644 --- a/plugins/base/src/main/kotlin/renderers/html/Tags.kt +++ b/plugins/base/src/main/kotlin/renderers/html/Tags.kt @@ -17,7 +17,7 @@ open class WBR(initialAttributes: Map<String, String>, consumer: TagConsumer<*>) HTMLTag("wbr", consumer, initialAttributes, namespace = null, inlineTag = true, emptyTag = false), HtmlBlockInlineTag -fun FlowOrPhrasingOrMetaDataContent.templateCommand(data: Command, block: TemplateBlock = {}): Unit = +fun FlowOrMetaDataContent.templateCommand(data: Command, block: TemplateBlock = {}): Unit = (consumer as? ImmediateResolutionTagConsumer)?.processCommand(data, block) ?: TemplateCommand(attributesMapOf("data", toJsonString(data)), consumer).visit(block) |