mirror of
https://github.com/InsanusMokrassar/KotlinMultiplatformProjectTemplate.git
synced 2024-11-24 19:18:51 +00:00
improve lib and add template for libs
This commit is contained in:
parent
0ba983cf94
commit
c881165417
@ -1,4 +1,4 @@
|
|||||||
package project_group
|
package project_group.project_name.lib
|
||||||
|
|
||||||
class Library {
|
class Library {
|
||||||
fun someLibraryMethod(): Boolean {
|
fun someLibraryMethod(): Boolean {
|
@ -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
|
@ -1 +1 @@
|
|||||||
<manifest package="project_group.lib"/>
|
<manifest package="project_group.project_name.lib"/>
|
||||||
|
8
template/build.gradle
Normal file
8
template/build.gradle
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
plugins {
|
||||||
|
id "org.jetbrains.kotlin.multiplatform"
|
||||||
|
id "org.jetbrains.kotlin.plugin.serialization"
|
||||||
|
id "com.android.library"
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$mppProjectWithSerializationPresetPath"
|
||||||
|
|
1
template/src/commonMain/kotlin/PackageInfo.kt
Normal file
1
template/src/commonMain/kotlin/PackageInfo.kt
Normal file
@ -0,0 +1 @@
|
|||||||
|
package project_group.project_name.template
|
1
template/src/main/AndroidManifest.xml
Normal file
1
template/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1 @@
|
|||||||
|
<manifest package="project_group.project_name.template"/>
|
Loading…
Reference in New Issue
Block a user