diff --git a/lib/src/commonMain/kotlin/project_group/Library.kt b/lib/src/commonMain/kotlin/Library.kt similarity index 68% rename from lib/src/commonMain/kotlin/project_group/Library.kt rename to lib/src/commonMain/kotlin/Library.kt index 424d112..4ed6aef 100644 --- a/lib/src/commonMain/kotlin/project_group/Library.kt +++ b/lib/src/commonMain/kotlin/Library.kt @@ -1,4 +1,4 @@ -package project_group +package project_group.project_name.lib class Library { fun someLibraryMethod(): Boolean { diff --git a/lib/src/commonTest/kotlin/project_group/LibraryTest.kt b/lib/src/commonTest/kotlin/LibraryTest.kt similarity index 89% rename from lib/src/commonTest/kotlin/project_group/LibraryTest.kt rename to lib/src/commonTest/kotlin/LibraryTest.kt index 84b573a..f61060f 100644 --- a/lib/src/commonTest/kotlin/project_group/LibraryTest.kt +++ b/lib/src/commonTest/kotlin/LibraryTest.kt @@ -1,7 +1,7 @@ /* * 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.assertTrue diff --git a/lib/src/main/AndroidManifest.xml b/lib/src/main/AndroidManifest.xml index 03c9554..bae7171 100644 --- a/lib/src/main/AndroidManifest.xml +++ b/lib/src/main/AndroidManifest.xml @@ -1 +1 @@ - \ No newline at end of file + diff --git a/template/build.gradle b/template/build.gradle new file mode 100644 index 0000000..8a22926 --- /dev/null +++ b/template/build.gradle @@ -0,0 +1,8 @@ +plugins { + id "org.jetbrains.kotlin.multiplatform" + id "org.jetbrains.kotlin.plugin.serialization" + id "com.android.library" +} + +apply from: "$mppProjectWithSerializationPresetPath" + diff --git a/template/src/commonMain/kotlin/PackageInfo.kt b/template/src/commonMain/kotlin/PackageInfo.kt new file mode 100644 index 0000000..952569f --- /dev/null +++ b/template/src/commonMain/kotlin/PackageInfo.kt @@ -0,0 +1 @@ +package project_group.project_name.template diff --git a/template/src/main/AndroidManifest.xml b/template/src/main/AndroidManifest.xml new file mode 100644 index 0000000..6fc7fd1 --- /dev/null +++ b/template/src/main/AndroidManifest.xml @@ -0,0 +1 @@ +