josephivie
06/19/2019, 6:24 PMleolima
06/19/2019, 6:31 PMjosephivie
06/19/2019, 7:42 PMjosephivie
06/19/2019, 7:56 PMkarelpeeters
06/19/2019, 8:33 PMfun main(args: Array<String>) {
ActualBuildSystem.run(args) {
sourcePath("src/kotlin")
//other stuff
}
Where ActualBuildSystem
is "just" a library then?karelpeeters
06/19/2019, 8:34 PMjosephivie
06/19/2019, 9:17 PMval dependencies = listOf<Dependency>()
val project = JavaProject(
sources = File("./src"),
dependencies = dependencies,
output = File("./build")
)
val testingModule = JUnitTesting(
sources = File("./src"),
dependencies = dependencies,
testingSources = File("./tests"),
)
fun build() = project.build()
fun test(filter: String? = null) = testingModule.runTestsMatching(filter ?: "*")
But now imagine I need to do something more complex - I could call into a lower-level library where I can mess with the exact calls to the compiler.cedric
06/19/2019, 9:26 PMjosephivie
06/19/2019, 10:57 PMjosephivie
06/20/2019, 4:23 AMcedric
06/20/2019, 5:19 AMFiguring out how to run a specific function in a Kotlin script from the command lineMaybe https://github.com/cbeust/kash would help
Nikky
06/20/2019, 10:22 AMcedric
06/20/2019, 11:07 AMcedric
06/20/2019, 11:08 AMjosephivie
06/20/2019, 5:32 PMnapperley
06/20/2019, 9:37 PMcedric
06/20/2019, 9:39 PMcedric
06/20/2019, 9:39 PMargs
in custom script engines (which Kash is) and fix the debuggability of these scripts (1.3.50)sksk
06/21/2019, 2:18 PMtmg
06/24/2019, 3:16 PMjosephivie
09/02/2019, 9:44 PMcedric
09/03/2019, 4:52 PMkbuild
to, say, generate fat jars, or upload to bintray
, etc…?josephivie
09/03/2019, 4:55 PMcedric
09/03/2019, 4:56 PMcedric
09/03/2019, 4:57 PMPlain Kotlin and Kotlin with Maven
is brokencedric
09/03/2019, 4:58 PMjosephivie
09/03/2019, 5:02 PMjosephivie
09/03/2019, 5:08 PMcedric
09/03/2019, 5:08 PMjosephivie
09/03/2019, 5:10 PMjosephivie
09/03/2019, 5:15 PMjosephivie
09/03/2019, 5:15 PMjosephivie
09/03/2019, 5:23 PM