update dependencies and add ModuleGenerator templates
This commit is contained in:
parent
488e4b283d
commit
ebc07f5c3d
|
@ -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)
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"module_path": "feature/sample",
|
||||
"module_package": "{{.module_path.replace(\"/\", \".\")}}",
|
||||
"full_module_package": "project_group.{{.module_path.replace(\"/\", \".\")}}"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
plugins {
|
||||
id "org.jetbrains.kotlin.multiplatform"
|
||||
id "org.jetbrains.kotlin.plugin.serialization"
|
||||
id "com.android.library"
|
||||
}
|
||||
|
||||
apply from: "$mppAndroidProjectPresetPath"
|
||||
|
|
@ -0,0 +1 @@
|
|||
package {{.full_module_package}}
|
|
@ -0,0 +1 @@
|
|||
<manifest package="{{.full_module_package}}"/>
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"module_path": "feature/sample",
|
||||
"module_package": "{{.module_path.replace(\"/\", \".\")}}",
|
||||
"full_module_package": "project_group.{{.module_path.replace(\"/\", \".\")}}"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
plugins {
|
||||
id "org.jetbrains.kotlin.multiplatform"
|
||||
id "org.jetbrains.kotlin.plugin.serialization"
|
||||
}
|
||||
|
||||
apply from: "$mppJavaProjectPresetPath"
|
||||
|
|
@ -0,0 +1 @@
|
|||
package {{.full_module_package}}
|
|
@ -0,0 +1 @@
|
|||
package {{.full_module_package}}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"module_path": "feature/sample",
|
||||
"module_package": "{{.module_path.replace(\"/\", \".\")}}",
|
||||
"full_module_package": "project_group.{{.module_path.replace(\"/\", \".\")}}"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
plugins {
|
||||
id "org.jetbrains.kotlin.multiplatform"
|
||||
id "org.jetbrains.kotlin.plugin.serialization"
|
||||
}
|
||||
|
||||
apply from: "$mppJsProjectPresetPath"
|
||||
|
|
@ -0,0 +1 @@
|
|||
package {{.full_module_package}}
|
|
@ -0,0 +1 @@
|
|||
package {{.full_module_package}}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"module_path": "feature/sample",
|
||||
"module_package": "{{.module_path.replace(\"/\", \".\")}}",
|
||||
"full_module_package": "project_group.{{.module_path.replace(\"/\", \".\")}}"
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
plugins {
|
||||
id "org.jetbrains.kotlin.multiplatform"
|
||||
id "org.jetbrains.kotlin.plugin.serialization"
|
||||
id "com.android.library"
|
||||
}
|
||||
|
||||
apply from: "$mppProjectWithSerializationPresetPath"
|
||||
|
|
@ -0,0 +1 @@
|
|||
package {{.full_module_package}}
|
|
@ -0,0 +1 @@
|
|||
<manifest package="{{.full_module_package}}"/>
|
|
@ -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]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue