start adding of posts service

This commit is contained in:
InsanusMokrassar 2022-01-08 18:37:53 +06:00
parent bae986d3fe
commit ef372ab520
10 changed files with 69 additions and 3 deletions

View File

@ -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")
}
}
}
}

View File

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

View File

@ -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")
}
}
}
}

View File

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

View File

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

View File

@ -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")
}
}
}
}

View File

@ -11,7 +11,7 @@ kotlin {
commonMain { commonMain {
dependencies { dependencies {
api project(":postssystem.services.template.common") api project(":postssystem.services.template.common")
api project(":postssystem.services.common.client") api project(":postssystem.features.common.client")
} }
} }
} }

View File

@ -10,7 +10,7 @@ kotlin {
sourceSets { sourceSets {
commonMain { commonMain {
dependencies { dependencies {
api project(":postssystem.services.common.common") api project(":postssystem.features.common.common")
} }
} }
} }

View File

@ -10,7 +10,7 @@ kotlin {
commonMain { commonMain {
dependencies { dependencies {
api project(":postssystem.services.template.common") api project(":postssystem.services.template.common")
api project(":postssystem.services.common.server") api project(":postssystem.features.common.server")
} }
} }
} }

View File

@ -45,6 +45,10 @@ String[] includes = [
":features:posts:client", ":features:posts:client",
":features:posts:server", ":features:posts:server",
":services:posts:common",
":services:posts:client",
":services:posts:server",
":features:publication:common", ":features:publication:common",
":features:publication:client", ":features:publication:client",
":features:publication:server", ":features:publication:server",