diff --git a/build.gradle.kts b/build.gradle.kts index f69f1d27..9258ad9f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,11 +1,9 @@ import org.gradle.kotlin.dsl.libs import org.gradle.plugins.ide.idea.model.IdeaModel -import org.jetbrains.dokka.gradle.DokkaMultiModuleTask import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { kotlin("jvm").version(libs.versions.kotlin) - alias(libs.plugins.dokka) alias(libs.plugins.spotless) alias(libs.plugins.testLogger) alias(libs.plugins.kover) @@ -18,10 +16,6 @@ plugins { group = "com.trendyol" version = CI.version(project) -allprojects { - extra.set("dokka.outputDirectory", rootDir.resolve("docs")) -} - kover { reports { filters { @@ -53,7 +47,6 @@ subprojects.of("lib", "spring", "examples", "ktor") { apply { plugin("kotlin") plugin(rootProject.libs.plugins.spotless.get().pluginId) - plugin(rootProject.libs.plugins.dokka.get().pluginId) plugin(rootProject.libs.plugins.testLogger.get().pluginId) plugin(rootProject.libs.plugins.kover.get().pluginId) plugin(rootProject.libs.plugins.detekt.get().pluginId) @@ -156,7 +149,3 @@ subprojects.of("lib", "spring", "ktor", filter = { p -> publishedProjects.contai } } -tasks.withType().configureEach { - outputDirectory.set(file(rootDir.resolve("docs/source"))) -} - diff --git a/lib/stove-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/standalone/kafka/Caching.kt b/lib/stove-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/standalone/kafka/Caching.kt index e0a73d23..c047c7c6 100644 --- a/lib/stove-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/standalone/kafka/Caching.kt +++ b/lib/stove-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/standalone/kafka/Caching.kt @@ -3,5 +3,5 @@ package com.trendyol.stove.testing.e2e.standalone.kafka import com.github.benmanes.caffeine.cache.* object Caching { - fun of(): Cache = Caffeine.newBuilder().build() + fun of(): Cache = Caffeine.newBuilder().build() } diff --git a/lib/stove-testing-e2e-wiremock/src/main/kotlin/com/trendyol/stove/testing/e2e/wiremock/Extensions.kt b/lib/stove-testing-e2e-wiremock/src/main/kotlin/com/trendyol/stove/testing/e2e/wiremock/Extensions.kt index d25ae64a..0d9ee414 100644 --- a/lib/stove-testing-e2e-wiremock/src/main/kotlin/com/trendyol/stove/testing/e2e/wiremock/Extensions.kt +++ b/lib/stove-testing-e2e-wiremock/src/main/kotlin/com/trendyol/stove/testing/e2e/wiremock/Extensions.kt @@ -2,4 +2,4 @@ package com.trendyol.stove.testing.e2e.wiremock import com.github.benmanes.caffeine.cache.Cache -fun Cache.containsKey(key: K): Boolean = this.getIfPresent(key) != null +fun Cache.containsKey(key: K): Boolean = this.getIfPresent(key) != null diff --git a/starters/spring/stove-spring-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/kafka/Caching.kt b/starters/spring/stove-spring-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/kafka/Caching.kt index 46be8439..a299fd49 100644 --- a/starters/spring/stove-spring-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/kafka/Caching.kt +++ b/starters/spring/stove-spring-testing-e2e-kafka/src/main/kotlin/com/trendyol/stove/testing/e2e/kafka/Caching.kt @@ -3,5 +3,5 @@ package com.trendyol.stove.testing.e2e.kafka import com.github.benmanes.caffeine.cache.* object Caching { - fun of(): Cache = Caffeine.newBuilder().build() + fun of(): Cache = Caffeine.newBuilder().build() }