Android UI (WIP)

This commit is contained in:
Christian Basler
2025-06-02 20:56:12 +02:00
parent dafb588626
commit f69933c74d
7 changed files with 79 additions and 8 deletions

View File

@@ -37,4 +37,14 @@ kotlin {
android {
compileSdk = libs.versions.android.compileSdk.get().toInt()
namespace = "ch.dissem.yaep.domain"
defaultConfig {
minSdk = libs.versions.android.minSdk.get().toInt()
}
sourceSets {
getByName("test") {
resources.srcDirs("src/commonTest/resources")
}
}
}

View File

@@ -34,7 +34,7 @@ class GameSolverTest {
@Test
fun `ensure game can be solved`() {
val gameString = this.javaClass.classLoader.getResourceAsStream("games/001.yaep")!!
val gameString = this::class.java.getResourceAsStream("/games/001.yaep")!!
.bufferedReader()
.readText()
val game = Game.parse(gameString)