Skip to content

Instantly share code, notes, and snippets.

@bamboo
bamboo / build.gradle
Last active May 11, 2020 11:25
Drive kotlinc from build.gradle
// Execute Kotlin script with:
//
// gradle -q foo
//
// For correctness, we're going to configure two independent classpath configurations, one for kotlinc and the other for the
// script(s) we want to execute.
configurations {
kotlinc