| plugins { |
| id "org.jetbrains.kotlin.jvm" |
| id "application" |
| // applied after mainClassName per https://github.com/johnrengelman/shadow/issues/336 |
| id "com.github.johnrengelman.shadow" version "2.0.2" apply false |
| } |
| |
| mainClassName = 'com.github.shyiko.ktlint.Main' |
| apply plugin: 'com.github.johnrengelman.shadow' |
| |
| dependencies { |
| compile project(":ktlint-core") |
| compile project(":ktlint-ruleset-standard") |
| compile project(":ktlint-reporter-plain") |
| compile project(":ktlint-reporter-json") |
| compile project(":ktlint-reporter-checkstyle") |
| compile libraries.kotlin_stdlib |
| compile libraries.klob |
| compile libraries.aether_api |
| compile libraries.aether_spi |
| compile libraries.aether_util |
| compile libraries.aether_impl |
| compile libraries.aether_connector_basic |
| compile libraries.aether_transport_file |
| compile libraries.aether_transport_http |
| compile libraries.slf4j_nop |
| compile libraries.maven_aether_provider |
| compile libraries.picocli |
| |
| testCompile libraries.testng |
| testCompile libraries.assertj_core |
| testCompile libraries.jimfs |
| } |
| |
| compileKotlin { |
| sourceCompatibility = JavaVersion.VERSION_1_8 |
| targetCompatibility = JavaVersion.VERSION_1_8 |
| |
| kotlinOptions { |
| jvmTarget = "1.8" |
| } |
| } |