286d0d56af
Old one is deprecated and delegates to new options. All new options are marked with task input types, so they could be used as `@Nested` input. Generated options are using specific types in generated compiler options. This should simplify code completion and provide meaningful hints to user. At this point repository compilation will fail. ^KT-27301 In Progress
31 lines
841 B
Kotlin
31 lines
841 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":core:util.runtime"))
|
|
api(project(":compiler:config"))
|
|
api(project(":compiler:config.jvm"))
|
|
api(project(":js:js.config"))
|
|
api(project(":native:kotlin-native-utils"))
|
|
api(project(":compiler:plugin-api"))
|
|
compileOnly(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
|
compileOnly(intellijCore())
|
|
compileOnly(commonDependency("com.google.guava:guava"))
|
|
compileOnly(commonDependency("org.jetbrains.intellij.deps:asm-all"))
|
|
compileOnly(project(":kotlin-gradle-compiler-types"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
optInToExperimentalCompilerApi()
|
|
|
|
tasks.getByName<Jar>("jar") {
|
|
//excludes unused bunch files
|
|
exclude("META-INF/extensions/*.xml.**")
|
|
}
|