22 lines
514 B
Kotlin
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" {}
|
|
}
|
|
|