ru.pocketbyte.locolaser.kotlinmpp.resource.file.provider.KotlinClassResourceFileProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resource-kotlin-mpp Show documentation
Show all versions of resource-kotlin-mpp Show documentation
Implementation of platform for LocoLaser tool to work with Kotlin MPP projects.
package ru.pocketbyte.locolaser.kotlinmpp.resource.file.provider
import ru.pocketbyte.locolaser.config.resources.ResourceFileProvider
import java.io.File
internal object KotlinClassResourceFileProvider : ResourceFileProvider {
override fun get(locale: String, directory: File, name: String, extension: String): File {
return File(directory, "${name.replace(".", "/")}.$extension")
}
}