This commit is contained in:
2020-12-02 21:50:52 +06:00
parent a75b97efa6
commit 79ba472b64
18 changed files with 580 additions and 0 deletions

8
lib/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,7 @@
package project_group
class Library {
fun someLibraryMethod(): Boolean {
return true
}
}

View File

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

View File

@@ -0,0 +1,14 @@
/*
* This Kotlin source file was generated by the Gradle 'init' task.
*/
package project_group
import kotlin.test.Test
import kotlin.test.assertTrue
class LibraryTest {
@Test fun testSomeLibraryMethod() {
val classUnderTest = Library()
assertTrue(classUnderTest.someLibraryMethod(), "someLibraryMethod should return 'true'")
}
}