From 559545438add3014074e2903af8e841d96cc509d Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 11 Mar 2022 21:09:50 +0600 Subject: [PATCH] add publicators submodule --- publicators/template/client/build.gradle | 18 ++++++++++++++++++ .../publicators/template/client/.gitkeep | 0 .../client/src/main/AndroidManifest.xml | 1 + publicators/template/common/build.gradle | 17 +++++++++++++++++ .../publicators/template/common/.gitkeep | 0 .../common/src/main/AndroidManifest.xml | 1 + publicators/template/server/build.gradle | 17 +++++++++++++++++ .../publicators/template/server/.gitkeep | 0 8 files changed, 54 insertions(+) create mode 100644 publicators/template/client/build.gradle create mode 100644 publicators/template/client/src/commonMain/kotlin/dev/inmo/postssystem/publicators/template/client/.gitkeep create mode 100644 publicators/template/client/src/main/AndroidManifest.xml create mode 100644 publicators/template/common/build.gradle create mode 100644 publicators/template/common/src/commonMain/kotlin/dev/inmo/postssystem/publicators/template/common/.gitkeep create mode 100644 publicators/template/common/src/main/AndroidManifest.xml create mode 100644 publicators/template/server/build.gradle create mode 100644 publicators/template/server/src/jvmMain/kotlin/dev/inmo/postssystem/publicators/template/server/.gitkeep diff --git a/publicators/template/client/build.gradle b/publicators/template/client/build.gradle new file mode 100644 index 00000000..25678513 --- /dev/null +++ b/publicators/template/client/build.gradle @@ -0,0 +1,18 @@ +plugins { + id "org.jetbrains.kotlin.multiplatform" + id "org.jetbrains.kotlin.plugin.serialization" + id "com.android.library" +} + +apply from: "$mppProjectWithSerializationPresetPath" + +kotlin { + sourceSets { + commonMain { + dependencies { + api project(":postssystem.publicators.template.common") + api project(":postssystem.features.common.client") + } + } + } +} diff --git a/publicators/template/client/src/commonMain/kotlin/dev/inmo/postssystem/publicators/template/client/.gitkeep b/publicators/template/client/src/commonMain/kotlin/dev/inmo/postssystem/publicators/template/client/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/publicators/template/client/src/main/AndroidManifest.xml b/publicators/template/client/src/main/AndroidManifest.xml new file mode 100644 index 00000000..c65f8ab3 --- /dev/null +++ b/publicators/template/client/src/main/AndroidManifest.xml @@ -0,0 +1 @@ + diff --git a/publicators/template/common/build.gradle b/publicators/template/common/build.gradle new file mode 100644 index 00000000..d4a562e5 --- /dev/null +++ b/publicators/template/common/build.gradle @@ -0,0 +1,17 @@ +plugins { + id "org.jetbrains.kotlin.multiplatform" + id "org.jetbrains.kotlin.plugin.serialization" + id "com.android.library" +} + +apply from: "$mppProjectWithSerializationPresetPath" + +kotlin { + sourceSets { + commonMain { + dependencies { + api project(":postssystem.features.common.common") + } + } + } +} diff --git a/publicators/template/common/src/commonMain/kotlin/dev/inmo/postssystem/publicators/template/common/.gitkeep b/publicators/template/common/src/commonMain/kotlin/dev/inmo/postssystem/publicators/template/common/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/publicators/template/common/src/main/AndroidManifest.xml b/publicators/template/common/src/main/AndroidManifest.xml new file mode 100644 index 00000000..65fcb6fc --- /dev/null +++ b/publicators/template/common/src/main/AndroidManifest.xml @@ -0,0 +1 @@ + diff --git a/publicators/template/server/build.gradle b/publicators/template/server/build.gradle new file mode 100644 index 00000000..3e2d6abb --- /dev/null +++ b/publicators/template/server/build.gradle @@ -0,0 +1,17 @@ +plugins { + id "org.jetbrains.kotlin.multiplatform" + id "org.jetbrains.kotlin.plugin.serialization" +} + +apply from: "$mppJavaProjectPresetPath" + +kotlin { + sourceSets { + commonMain { + dependencies { + api project(":postssystem.publicators.template.common") + api project(":postssystem.features.common.server") + } + } + } +} diff --git a/publicators/template/server/src/jvmMain/kotlin/dev/inmo/postssystem/publicators/template/server/.gitkeep b/publicators/template/server/src/jvmMain/kotlin/dev/inmo/postssystem/publicators/template/server/.gitkeep new file mode 100644 index 00000000..e69de29b