https://kotlinlang.org logo
#announcements
Title
# announcements
j

josephivie

09/02/2019, 9:42 PM
I'm working on a new way to build projects using vanilla Kotlin files importing this library, with the hopes that one day it could replace Gradle. I'd really like some input from people on this. https://github.com/UnknownJoe796/kbuild
k

karelpeeters

09/02/2019, 11:18 PM
I read the Q/A "Isn't this just Kobalt all over again?" but I still don't get the conceptual difference. Doesn't cobalt also just run a kotlin config file?
j

josephivie

09/02/2019, 11:28 PM
It runs a special Kotlin config file. Run it with
kscript
or the Kotlin compiler; it won't run. It requires the special runner to function. This is for a literal, plain,
.kts
file built to be run with the standard Kotlin runners. Check out what it requires to build a plugin: https://beust.com/kobalt/plug-in-development/index.html This system has no plugins. It doesn't need any - instead of plugins, we just pull in more libraries from Maven into our script. Also, the principles listed in there are different than how Kobalt works - Kobalt is built around DSL setup, which I specifically would like to do away with for the reasons listed in the readme.
k

karelpeeters

09/02/2019, 11:38 PM
Hmm, I see.
m

Matteo Mirk

09/03/2019, 12:45 PM
Interesting project!
m

mbonnin

09/03/2019, 2:20 PM
Interesting project! I've wished for something like that a few times. Although consuming the gradle API with kotlin in build.gradle.kts files is pretty swift 😄