mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Simplify.
This commit is contained in:
parent
e3099f8d12
commit
1126c87845
1 changed files with 1 additions and 6 deletions
|
@ -121,10 +121,5 @@ class JavaCompilerConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Directive
|
@Directive
|
||||||
fun Project.javaCompiler(init: JavaCompilerConfig.() -> Unit) : JavaCompilerConfig {
|
fun Project.javaCompiler(init: JavaCompilerConfig.() -> Unit) = JavaCompilerConfig().run { init() }
|
||||||
with (JavaCompilerConfig()) {
|
|
||||||
init()
|
|
||||||
return this
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue