From a756490d20f80f41efeb98cbebe1a07f8bcb9df1 Mon Sep 17 00:00:00 2001 From: Alexander Nozik <altavir@gmail.com> Date: Mon, 10 Mar 2025 10:13:04 +0300 Subject: [PATCH] Fix package for context line extensions --- build.gradle.kts | 7 +++++++ .../kotlin/space/kscience/kmath/geometry/lineExtensions.kt | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index ccc9088f6..7d46860f8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,6 +23,13 @@ dependencies { } } +dokka{ + dokkaSourceSets.configureEach { + val readmeFile = projectDir.resolve("README.md") + if (readmeFile.exists()) includes.from(readmeFile) + } +} + subprojects { if (name.startsWith("kmath")) apply<MavenPublishPlugin>() diff --git a/kmath-geometry/src/jvmMain/kotlin/space/kscience/kmath/geometry/lineExtensions.kt b/kmath-geometry/src/jvmMain/kotlin/space/kscience/kmath/geometry/lineExtensions.kt index f0e3a07d5..52f774a15 100644 --- a/kmath-geometry/src/jvmMain/kotlin/space/kscience/kmath/geometry/lineExtensions.kt +++ b/kmath-geometry/src/jvmMain/kotlin/space/kscience/kmath/geometry/lineExtensions.kt @@ -5,9 +5,8 @@ @file:Suppress("CONTEXT_RECEIVERS_DEPRECATED") -import space.kscience.kmath.geometry.GeometrySpace -import space.kscience.kmath.geometry.Line -import space.kscience.kmath.geometry.LineSegment +package space.kscience.kmath.geometry + import space.kscience.kmath.operations.Group /**