withoutclass
01/24/2019, 5:37 PMSeri
01/24/2019, 8:16 PMexpect
declarations, and one or more “Implementation” modules that utilize actual
nkiesel
01/24/2019, 8:37 PMuser
08/27/2019, 2:00 PMTravis Griggs
08/28/2019, 5:20 PMMarcin Wiśniewski
08/28/2019, 8:20 PMAidan Heller
08/29/2019, 3:11 AMCannot GET /
. Has anyone had this same problem, or found a solution? This is my `build.gradle.kts`:
plugins {
id("org.jetbrains.kotlin.js") version "1.3.50"
}
repositories {
mavenLocal()
jcenter()
}
dependencies {
implementation(kotlin("stdlib-js"))
}
kotlin.target.browser()
And here is my app:
fun main() {
println("Hello world")
}
user
08/29/2019, 9:18 AMuser
08/29/2019, 9:23 AMMarcin Wiśniewski
08/29/2019, 6:19 PMMarcin Wiśniewski
08/29/2019, 6:24 PM{
app {
function = "my-function"
}
}
and following spec config:
object AppSpec : ConfigSpec() {
val function by required<String>()
}
How can I get value of function ("my-function") programatically?
At the moment I have:
private val appConfig = Config { addSpec(AppSpec) }
.from.hocon.resource("app.conf")
Tsvetozar Bonev
08/30/2019, 8:32 AMuser
08/30/2019, 2:00 PMNikky
08/30/2019, 7:58 PMJurriaan Mous
08/31/2019, 2:57 PMCannot access 'method': it is internal in 'Class'
in 1.3.50 (Both JVM/JS) It breaks in a gradle run but in the IDE it seems to be green.LastExceed
09/01/2019, 3:58 AMByteChannel
(kotlinx.coroutines.io) but without the capacity limit (4096)? i need a channel that i can write an unspecified number of bytes to so i can later easily convert it to a ByteArray
pavi2410
09/01/2019, 7:32 AMBernhard
09/02/2019, 2:01 PMpp.amorim
09/02/2019, 6:03 PMnanodeath
09/02/2019, 8:16 PMpawel.rybicki
09/03/2019, 3:53 PMpawel.rybicki
09/03/2019, 3:53 PMpawel.rybicki
09/03/2019, 3:54 PMpawel.rybicki
09/03/2019, 3:54 PMpawel.rybicki
09/03/2019, 3:54 PMuser
09/03/2019, 6:00 PMhttps://pbs.twimg.com/media/EDju5t2W4AAa2vS.png▾
Shawn
09/03/2019, 6:12 PMString.isAlphaNum()
qasim majeed
09/04/2019, 7:45 AMLuis Munoz
09/04/2019, 4:38 PM