com.codingfeline.buildkonfig.gradle.TargetConfigFactory.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of buildkonfig-gradle-plugin Show documentation
Show all versions of buildkonfig-gradle-plugin Show documentation
Gradle plugin to generate BuildConfig object for Kotlin MPP
The newest version!
package com.codingfeline.buildkonfig.gradle
import org.gradle.api.NamedDomainObjectFactory
import org.gradle.api.logging.Logger
import org.gradle.api.model.ObjectFactory
class TargetConfigFactory(
private val objectFactory: ObjectFactory,
private val logger: Logger
) : NamedDomainObjectFactory {
override fun create(name: String): TargetConfigDsl {
return objectFactory.newInstance(TargetConfigDsl::class.java, name, logger)
}
}