From a5a44108f41806f02c86ba64f8b3d7c0eca120fd Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sat, 13 Jul 2024 22:44:01 -0700 Subject: [PATCH] chore(kotlin): remove dokka for now (#716) * remove unused plugin * chore(kotlin): remove dokka for now --- finder/kotlin/build.gradle.kts | 13 ------------ finder/kotlin/settings.gradle.kts | 11 ---------- .../kotlin/src/test/kotlin/resources/a.html | 20 ------------------- 3 files changed, 44 deletions(-) delete mode 100644 finder/kotlin/src/test/kotlin/resources/a.html diff --git a/finder/kotlin/build.gradle.kts b/finder/kotlin/build.gradle.kts index 19f93675..83fd57c9 100644 --- a/finder/kotlin/build.gradle.kts +++ b/finder/kotlin/build.gradle.kts @@ -7,7 +7,6 @@ plugins { id("kotlinx-serialization") version "1.3.40" `maven-publish` kotlin("jvm") version "1.3.40" - id("org.jetbrains.dokka") version "1.6.0" } repositories { @@ -22,22 +21,10 @@ dependencies { testImplementation("junit:junit:4.12") } -tasks.dokkaHtml.configure { - outputDirectory.set(buildDir.resolve("dokka")) -} - -val dokkaJar by tasks.creating(Jar::class) { - group = JavaBasePlugin.DOCUMENTATION_GROUP - description = "Assembles Kotlin docs with Dokka" - classifier = "javadoc" - from(tasks.dokkaHtml) -} - publishing { publications { create("default") { from(components["java"]) - artifact(dokkaJar) } } repositories { diff --git a/finder/kotlin/settings.gradle.kts b/finder/kotlin/settings.gradle.kts index 2e7e70f8..89bc9b67 100644 --- a/finder/kotlin/settings.gradle.kts +++ b/finder/kotlin/settings.gradle.kts @@ -14,14 +14,3 @@ pluginManagement { maven("https://kotlin.bintray.com/kotlinx") } } -plugins { - id("com.gradle.enterprise") version("3.7.2") -} - -gradleEnterprise { - buildScan { - termsOfServiceUrl = "https://gradle.com/terms-of-service" - termsOfServiceAgree = "yes" - publishAlways() - } -} \ No newline at end of file diff --git a/finder/kotlin/src/test/kotlin/resources/a.html b/finder/kotlin/src/test/kotlin/resources/a.html deleted file mode 100644 index 89506c7e..00000000 --- a/finder/kotlin/src/test/kotlin/resources/a.html +++ /dev/null @@ -1,20 +0,0 @@ -plugins { - `build-scan` - kotlin("jvm") version "1.2.71" -} - -repositories { - jcenter() -} - -dependencies { - implementation(kotlin("stdlib")) - testImplementation("junit:junit:4.12") -} - -buildScan { - termsOfServiceUrl = "https://gradle.com/terms-of-service" - termsOfServiceAgree = "yes" - - publishAlways() -}