update dependencies and add ModuleGenerator templates

This commit is contained in:
2023-05-01 23:13:49 +06:00
parent 488e4b283d
commit ebc07f5c3d
19 changed files with 65 additions and 3 deletions

4
.templates/README.md Normal file
View File

@@ -0,0 +1,4 @@
# Templates
This folder contains templates to generate your modules in Intellij Idea with plugin
[ModuleGenerator](https://plugins.jetbrains.com/plugin/21100-segment-generator)

View File

@@ -0,0 +1,5 @@
{
"module_path": "feature/sample",
"module_package": "{{.module_path.replace(\"/\", \".\")}}",
"full_module_package": "project_group.{{.module_path.replace(\"/\", \".\")}}"
}

View File

@@ -0,0 +1,8 @@
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
id "com.android.library"
}
apply from: "$mppAndroidProjectPresetPath"

View File

@@ -0,0 +1 @@
package {{.full_module_package}}

View File

@@ -0,0 +1 @@
<manifest package="{{.full_module_package}}"/>

View File

@@ -0,0 +1,5 @@
{
"module_path": "feature/sample",
"module_package": "{{.module_path.replace(\"/\", \".\")}}",
"full_module_package": "project_group.{{.module_path.replace(\"/\", \".\")}}"
}

View File

@@ -0,0 +1,7 @@
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
}
apply from: "$mppJavaProjectPresetPath"

View File

@@ -0,0 +1 @@
package {{.full_module_package}}

View File

@@ -0,0 +1 @@
package {{.full_module_package}}

View File

@@ -0,0 +1,5 @@
{
"module_path": "feature/sample",
"module_package": "{{.module_path.replace(\"/\", \".\")}}",
"full_module_package": "project_group.{{.module_path.replace(\"/\", \".\")}}"
}

View File

@@ -0,0 +1,7 @@
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
}
apply from: "$mppJsProjectPresetPath"

View File

@@ -0,0 +1 @@
package {{.full_module_package}}

View File

@@ -0,0 +1 @@
package {{.full_module_package}}

View File

@@ -0,0 +1,5 @@
{
"module_path": "feature/sample",
"module_package": "{{.module_path.replace(\"/\", \".\")}}",
"full_module_package": "project_group.{{.module_path.replace(\"/\", \".\")}}"
}

View File

@@ -0,0 +1,8 @@
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
id "com.android.library"
}
apply from: "$mppProjectWithSerializationPresetPath"

View File

@@ -0,0 +1 @@
package {{.full_module_package}}

View File

@@ -0,0 +1 @@
<manifest package="{{.full_module_package}}"/>