This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open class Animal{ | |
infix fun has(value:Int):Animal{ | |
return this | |
} | |
infix fun legs(value:Animal):Animal{ | |
return this | |
} | |
infix fun a(value:Any):Animal{ | |
return this | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[versions] | |
kotlin = "1.6.21" | |
coroutines = "1.6.1" | |
kaHelpers = "3.4.0" | |
gradlePlugins-agp = "7.2.0" | |
gradlePlugins-versionCatalog = "0.3.1" | |
[libraries] | |
coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" } | |
coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" } |