From 717c4260f90b4e982388e250e99740c9500ae847 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Fri, 3 Aug 2018 09:07:35 +0300 Subject: [PATCH] Ddded kmath prefix to module names. --- {common => kmath-common}/build.gradle | 0 .../src/main/kotlin/scientifik/kmath/operations/Algebra.kt | 0 .../src/main/kotlin/scientifik/kmath/operations/Fields.kt | 0 .../kotlin/scientifik/kmath/operations/OptionalOperations.kt | 0 .../main/kotlin/scientifik/kmath/structures/LinearAlgrebra.kt | 0 .../src/main/kotlin/scientifik/kmath/structures/NDArray.kt | 0 .../test/kotlin/scientifik/kmath/operations/RealFieldTest.kt | 0 {jvm => kmath-jvm}/build.gradle | 2 +- .../main/kotlin/scientifik/kmath/structures/RealNDArray.kt | 0 .../kotlin/scientifik/kmath/structures/ArrayMatrixTest.kt | 0 .../kotlin/scientifik/kmath/structures/RealNDFieldTest.kt | 0 settings.gradle | 4 ++-- 12 files changed, 3 insertions(+), 3 deletions(-) rename {common => kmath-common}/build.gradle (100%) rename {common => kmath-common}/src/main/kotlin/scientifik/kmath/operations/Algebra.kt (100%) rename {common => kmath-common}/src/main/kotlin/scientifik/kmath/operations/Fields.kt (100%) rename {common => kmath-common}/src/main/kotlin/scientifik/kmath/operations/OptionalOperations.kt (100%) rename {common => kmath-common}/src/main/kotlin/scientifik/kmath/structures/LinearAlgrebra.kt (100%) rename {common => kmath-common}/src/main/kotlin/scientifik/kmath/structures/NDArray.kt (100%) rename {common => kmath-common}/src/test/kotlin/scientifik/kmath/operations/RealFieldTest.kt (100%) rename {jvm => kmath-jvm}/build.gradle (87%) rename {jvm => kmath-jvm}/src/main/kotlin/scientifik/kmath/structures/RealNDArray.kt (100%) rename {jvm => kmath-jvm}/src/test/kotlin/scientifik/kmath/structures/ArrayMatrixTest.kt (100%) rename {jvm => kmath-jvm}/src/test/kotlin/scientifik/kmath/structures/RealNDFieldTest.kt (100%) diff --git a/common/build.gradle b/kmath-common/build.gradle similarity index 100% rename from common/build.gradle rename to kmath-common/build.gradle diff --git a/common/src/main/kotlin/scientifik/kmath/operations/Algebra.kt b/kmath-common/src/main/kotlin/scientifik/kmath/operations/Algebra.kt similarity index 100% rename from common/src/main/kotlin/scientifik/kmath/operations/Algebra.kt rename to kmath-common/src/main/kotlin/scientifik/kmath/operations/Algebra.kt diff --git a/common/src/main/kotlin/scientifik/kmath/operations/Fields.kt b/kmath-common/src/main/kotlin/scientifik/kmath/operations/Fields.kt similarity index 100% rename from common/src/main/kotlin/scientifik/kmath/operations/Fields.kt rename to kmath-common/src/main/kotlin/scientifik/kmath/operations/Fields.kt diff --git a/common/src/main/kotlin/scientifik/kmath/operations/OptionalOperations.kt b/kmath-common/src/main/kotlin/scientifik/kmath/operations/OptionalOperations.kt similarity index 100% rename from common/src/main/kotlin/scientifik/kmath/operations/OptionalOperations.kt rename to kmath-common/src/main/kotlin/scientifik/kmath/operations/OptionalOperations.kt diff --git a/common/src/main/kotlin/scientifik/kmath/structures/LinearAlgrebra.kt b/kmath-common/src/main/kotlin/scientifik/kmath/structures/LinearAlgrebra.kt similarity index 100% rename from common/src/main/kotlin/scientifik/kmath/structures/LinearAlgrebra.kt rename to kmath-common/src/main/kotlin/scientifik/kmath/structures/LinearAlgrebra.kt diff --git a/common/src/main/kotlin/scientifik/kmath/structures/NDArray.kt b/kmath-common/src/main/kotlin/scientifik/kmath/structures/NDArray.kt similarity index 100% rename from common/src/main/kotlin/scientifik/kmath/structures/NDArray.kt rename to kmath-common/src/main/kotlin/scientifik/kmath/structures/NDArray.kt diff --git a/common/src/test/kotlin/scientifik/kmath/operations/RealFieldTest.kt b/kmath-common/src/test/kotlin/scientifik/kmath/operations/RealFieldTest.kt similarity index 100% rename from common/src/test/kotlin/scientifik/kmath/operations/RealFieldTest.kt rename to kmath-common/src/test/kotlin/scientifik/kmath/operations/RealFieldTest.kt diff --git a/jvm/build.gradle b/kmath-jvm/build.gradle similarity index 87% rename from jvm/build.gradle rename to kmath-jvm/build.gradle index 6dc9a0303..82bda0270 100644 --- a/jvm/build.gradle +++ b/kmath-jvm/build.gradle @@ -5,7 +5,7 @@ repositories { } dependencies { - expectedBy project(":common") + expectedBy project(":kmath-common") compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" testCompile "junit:junit:4.12" testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" diff --git a/jvm/src/main/kotlin/scientifik/kmath/structures/RealNDArray.kt b/kmath-jvm/src/main/kotlin/scientifik/kmath/structures/RealNDArray.kt similarity index 100% rename from jvm/src/main/kotlin/scientifik/kmath/structures/RealNDArray.kt rename to kmath-jvm/src/main/kotlin/scientifik/kmath/structures/RealNDArray.kt diff --git a/jvm/src/test/kotlin/scientifik/kmath/structures/ArrayMatrixTest.kt b/kmath-jvm/src/test/kotlin/scientifik/kmath/structures/ArrayMatrixTest.kt similarity index 100% rename from jvm/src/test/kotlin/scientifik/kmath/structures/ArrayMatrixTest.kt rename to kmath-jvm/src/test/kotlin/scientifik/kmath/structures/ArrayMatrixTest.kt diff --git a/jvm/src/test/kotlin/scientifik/kmath/structures/RealNDFieldTest.kt b/kmath-jvm/src/test/kotlin/scientifik/kmath/structures/RealNDFieldTest.kt similarity index 100% rename from jvm/src/test/kotlin/scientifik/kmath/structures/RealNDFieldTest.kt rename to kmath-jvm/src/test/kotlin/scientifik/kmath/structures/RealNDFieldTest.kt diff --git a/settings.gradle b/settings.gradle index a60b00349..9dce0ac08 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,4 +1,4 @@ rootProject.name = 'kmath' -include 'common' -include 'jvm' +include 'kmath-common' +include 'kmath-jvm'