mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Rename.
This commit is contained in:
parent
691e59f0cb
commit
039d2f1bc2
5 changed files with 8 additions and 8 deletions
|
@ -9,7 +9,7 @@ import com.beust.kobalt.api.Project
|
|||
/**
|
||||
* Data that is useful for projects to have but should not be specified in the DSL.
|
||||
*/
|
||||
interface IProjectInfo {
|
||||
interface IBuildConfig {
|
||||
/**
|
||||
* If at least one build config was found either on the project or the variant, this function
|
||||
* will be used to generate the BuildConfig file with the correct language.
|
||||
|
@ -19,7 +19,7 @@ interface IProjectInfo {
|
|||
|
||||
}
|
||||
|
||||
abstract class BaseProjectInfo : IProjectInfo {
|
||||
abstract class BaseBuildConfig : IBuildConfig {
|
||||
abstract fun generate(field: BuildConfigField) : String
|
||||
|
||||
fun generate(type: String, name: String, value: Any) = generate(BuildConfigField(type, name, value))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue