improve lib and add template for libs

This commit is contained in:
InsanusMokrassar 2022-09-12 14:32:45 +06:00
parent 0ba983cf94
commit c881165417
6 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,4 @@
package project_group package project_group.project_name.lib
class Library { class Library {
fun someLibraryMethod(): Boolean { fun someLibraryMethod(): Boolean {

View File

@ -1,7 +1,7 @@
/* /*
* This Kotlin source file was generated by the Gradle 'init' task. * This Kotlin source file was generated by the Gradle 'init' task.
*/ */
package project_group package project_group.project_name.lib
import kotlin.test.Test import kotlin.test.Test
import kotlin.test.assertTrue import kotlin.test.assertTrue

View File

@ -1 +1 @@
<manifest package="project_group.lib"/> <manifest package="project_group.project_name.lib"/>

8
template/build.gradle Normal file
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 project_group.project_name.template

View File

@ -0,0 +1 @@
<manifest package="project_group.project_name.template"/>