33faa00184
#KT-25128 Fixed ABI class generation is implemented as a compiler plugin. Command-line usage: 1. Add a path to 'jvm-abi-gen.jar' to the plguin classpath argument (`-Xplugin`). By default the jar is located at 'kotlinc/lib/jvm-abi-gen.jar' in the kotlinc distribution archive. 2. Specify an output directory for ABI classes via `-Pplugin:org.jetbrains.kotlin.jvm.abi:outputDir=<DIR>`.
39 lines
810 B
Kotlin
39 lines
810 B
Kotlin
|
|
description = "ABI generation for Kotlin/JVM"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":compiler:util"))
|
|
compileOnly(project(":compiler:cli"))
|
|
compileOnly(project(":compiler:backend"))
|
|
compileOnly(project(":compiler:frontend"))
|
|
compileOnly(project(":compiler:frontend.java"))
|
|
compileOnly(project(":compiler:plugin-api"))
|
|
compileOnly(project(":kotlin-build-common"))
|
|
|
|
runtimeOnly(project(":kotlin-compiler"))
|
|
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompile(projectTests(":compiler:incremental-compilation-impl"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest {
|
|
workingDir = rootDir
|
|
dependsOn(":dist")
|
|
}
|
|
|
|
sourcesJar()
|
|
javadocJar()
|
|
dist()
|
|
publish()
|
|
|
|
testsJar() |