Files
kotlin-fork/prepare/formatter/build.gradle.kts
T
2017-09-19 21:37:27 +02:00

22 lines
514 B
Kotlin

description = "Kotlin Formatter"
apply { plugin("java") }
runtimeJar {
archiveName = "kotlin-formatter.jar"
dependsOn(":idea:formatter:classes")
project(":idea:formatter").let { p ->
p.pluginManager.withPlugin("java") {
from(p.the<JavaPluginConvention>().sourceSets.getByName("main").output)
}
}
from(fileTree("$rootDir/idea/formatter")) { include("src/**") } // Eclipse formatter sources navigation depends on this
}
sourceSets {
"main" {}
"test" {}
}