start adding of posts service

This commit is contained in:
2022-01-08 18:37:53 +06:00
parent bae986d3fe
commit ef372ab520
10 changed files with 69 additions and 3 deletions
services
posts
client
common
build.gradle
src
commonMain
kotlin
dev
inmo
postssystem
services
posts
main
server
template
settings.gradle

@ -0,0 +1,19 @@
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.posts.common")
api project(":postssystem.features.common.client")
api project(":postssystem.features.posts.client")
}
}
}
}

@ -0,0 +1 @@
<manifest package="dev.inmo.postssystem.services.posts.client"/>

@ -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.features.common.common")
api project(":postssystem.features.posts.common")
}
}
}
}

@ -0,0 +1,3 @@
package dev.inmo.postssystem.services.posts.common
const val postsRootPath = "posts"

@ -0,0 +1 @@
<manifest package="dev.inmo.postssystem.services.posts.common"/>

@ -0,0 +1,20 @@
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
}
apply from: "$mppJavaProjectPresetPath"
kotlin {
sourceSets {
commonMain {
dependencies {
api project(":postssystem.services.posts.common")
api project(":postssystem.features.common.server")
api project(":postssystem.features.content.server")
api project(":postssystem.features.posts.server")
api project(":postssystem.features.users.server")
}
}
}
}