ru.pocketbyte.locolaser.kotlinmpp.KotlinBaseResourcesConfig.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
import ru.pocketbyte.locolaser.config.resources.BaseResourcesConfig
import ru.pocketbyte.locolaser.kotlinmpp.resource.file.provider.KotlinClassResourceFileProvider
import java.io.File
abstract class KotlinBaseResourcesConfig(
workDir: File?,
resourceName: String?,
resourcesDirPath: String?,
val implements: String?,
filter: ((key: String) -> Boolean)?
) : BaseResourcesConfig(
workDir,
resourceName,
resourcesDirPath,
KotlinClassResourceFileProvider,
filter
) {
companion object {
const val DEFAULT_PACKAGE = "ru.pocketbyte.locolaser.kmpp"
const val DEFAULT_INTERFACE_NAME = "StringRepository"
}
}