diff --git a/services/template/client/build.gradle b/services/template/client/build.gradle new file mode 100644 index 00000000..e4a6a26a --- /dev/null +++ b/services/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.services.template.common") + api project(":postssystem.services.common.client") + } + } + } +} diff --git a/services/template/client/src/commonMain/kotlin/dev/inmo/postssystem/services/template/client/.gitkeep b/services/template/client/src/commonMain/kotlin/dev/inmo/postssystem/services/template/client/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/services/template/client/src/main/AndroidManifest.xml b/services/template/client/src/main/AndroidManifest.xml new file mode 100644 index 00000000..a67a82ce --- /dev/null +++ b/services/template/client/src/main/AndroidManifest.xml @@ -0,0 +1 @@ + diff --git a/services/template/common/build.gradle b/services/template/common/build.gradle new file mode 100644 index 00000000..d31732ab --- /dev/null +++ b/services/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.services.common.common") + } + } + } +} diff --git a/services/template/common/src/commonMain/kotlin/dev/inmo/postssystem/services/template/common/.gitkeep b/services/template/common/src/commonMain/kotlin/dev/inmo/postssystem/services/template/common/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/services/template/common/src/main/AndroidManifest.xml b/services/template/common/src/main/AndroidManifest.xml new file mode 100644 index 00000000..9992718f --- /dev/null +++ b/services/template/common/src/main/AndroidManifest.xml @@ -0,0 +1 @@ + diff --git a/services/template/server/build.gradle b/services/template/server/build.gradle new file mode 100644 index 00000000..cd649089 --- /dev/null +++ b/services/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.services.template.common") + api project(":postssystem.services.common.server") + } + } + } +} diff --git a/services/template/server/src/jvmMain/kotlin/dev/inmo/postssystem/services/template/server/.gitkeep b/services/template/server/src/jvmMain/kotlin/dev/inmo/postssystem/services/template/server/.gitkeep new file mode 100644 index 00000000..e69de29b