diff options
-rw-r--r-- | README.md | 26 | ||||
-rw-r--r-- | docs/src/doc/docs/user_guide/gradle/usage.md | 22 | ||||
-rw-r--r-- | docs/src/doc/docs/user_guide/maven/usage.md | 13 |
3 files changed, 5 insertions, 56 deletions
@@ -13,8 +13,7 @@ and can generate documentation in multiple formats including standard Javadoc, H _Note: If you are upgrading from 0.10.x to a current release of Dokka, please have a look at our [migration guide](runners/gradle-plugin/MIGRATION.md)_ -The preferred way is to use `plugins` block. One dependency (`kotlinx.html`) is not yet published to MavenCentral, -so in order to properly resolve it, you have to add JetBrains's Space repository to your project's repositories: +The preferred way is to use `plugins` block. build.gradle.kts: ```kotlin @@ -24,11 +23,6 @@ plugins { repositories { mavenCentral() - maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") { - content { - includeGroup("org.jetbrains.kotlinx") - } - } } ``` @@ -78,11 +72,6 @@ buildscript { } repositories { mavenCentral() - maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") { - content { - includeGroup("org.jetbrains.kotlinx") - } - } } apply(plugin= "com.android.library") apply(plugin= "kotlin-android") @@ -113,18 +102,7 @@ with links to all generated (sub)documentations ### Using the Maven plugin -The Maven plugin does not support multi-platform projects. One dependency (`kotlinx.html`) is not yet published to MavenCentral, -so in order to properly resolve it, you have to add JetBrains's Space repository to your project's `pluginRepositories`: - -```xml -<pluginRepositories> - <pluginRepository> - <id>kotlinx-html</id> - <name>KotlinxHtmlSpace</name> - <url>https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven/</url> - </pluginRepository> -</pluginRepositories> -``` +The Maven plugin does not support multi-platform projects. Documentation is by default generated in `target/dokka`. diff --git a/docs/src/doc/docs/user_guide/gradle/usage.md b/docs/src/doc/docs/user_guide/gradle/usage.md index e9a8c399..15fd1a78 100644 --- a/docs/src/doc/docs/user_guide/gradle/usage.md +++ b/docs/src/doc/docs/user_guide/gradle/usage.md @@ -4,9 +4,8 @@ If you are upgrading from 0.10.x to a current release of Dokka, please have a look at our [migration guide](https://github.com/Kotlin/dokka/blob/master/runners/gradle-plugin/MIGRATION.md) -The preferred way is to use `plugins` block. One dependency (`kotlinx.html`) is not yet published to MavenCentral, -so in order to properly resolve it, you have to add JetBrains's Space repository to your project's repositories: - +The preferred way is to use `plugins` block. + build.gradle.kts: ```kotlin plugins { @@ -15,11 +14,6 @@ plugins { repositories { mavenCentral() - maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") { - content { - includeGroup("org.jetbrains.kotlinx") - } - } } ``` @@ -33,13 +27,6 @@ buildscript { classpath("org.jetbrains.dokka:dokka-gradle-plugin:${dokka_version}") } } -repositories { - maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") { - content { - includeGroup("org.jetbrains.kotlinx") - } - } -} apply(plugin="org.jetbrains.dokka") ``` @@ -298,11 +285,6 @@ buildscript { } repositories { mavenCentral() - maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") { - content { - includeGroup("org.jetbrains.kotlinx") - } - } } apply(plugin= "com.android.library") apply(plugin= "kotlin-android") diff --git a/docs/src/doc/docs/user_guide/maven/usage.md b/docs/src/doc/docs/user_guide/maven/usage.md index 586f5f0c..6137d23d 100644 --- a/docs/src/doc/docs/user_guide/maven/usage.md +++ b/docs/src/doc/docs/user_guide/maven/usage.md @@ -3,18 +3,7 @@ !!! note Dokka Maven plugin does not support multi-platform projects. -The Maven plugin does not support multi-platform projects. One dependency (`kotlinx.html`) is not yet published to MavenCentral, -so in order to properly resolve it, you have to add JetBrains's Space repository to your project's `pluginRepositories`: - -```xml -<pluginRepositories> - <pluginRepository> - <id>kotlinx-html</id> - <name>KotlinxHtmlSpace</name> - <url>https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven/</url> - </pluginRepository> -</pluginRepositories> -``` +The Maven plugin does not support multi-platform projects. Minimal Maven configuration is |