update dependencies and add ModuleGenerator templates

This commit is contained in:
InsanusMokrassar 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}}"/>

View File

@ -1,6 +1,6 @@
[versions]
kotlin = "1.8.20"
kotlin = "1.8.21"
kotlin-serialization = "1.5.0"
dokka = "1.8.10"
@ -13,7 +13,7 @@ espresso_core = "3.4.0"
android-gradle-plugin = "7.4.2"
android-minSdk = "21"
android-compileSdk = "33"
android-buildTools = "33.0.1"
android-buildTools = "33.0.2"
[libraries]

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists