[SAM with receiver] Prepare module structure to K2 implementation

This commit is contained in:
Dmitriy Novozhilov
2022-06-22 13:22:47 +03:00
committed by teamcity
parent e54c6eeafc
commit ffc680f4a6
38 changed files with 209 additions and 136 deletions
@@ -0,0 +1,57 @@
description = "Kotlin SamWithReceiver Compiler Plugin"
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
embedded(project(":kotlin-sam-with-receiver-compiler-plugin.common"))
embedded(project(":kotlin-sam-with-receiver-compiler-plugin.k1"))
embedded(project(":kotlin-sam-with-receiver-compiler-plugin.k2"))
embedded(project(":kotlin-sam-with-receiver-compiler-plugin.cli"))
testApi(project(":compiler:backend"))
testApi(project(":compiler:cli"))
testApi(project(":kotlin-sam-with-receiver-compiler-plugin.cli"))
testCompileOnly(project(":kotlin-compiler"))
testImplementation(project(":kotlin-scripting-jvm-host-unshaded"))
testApiJUnit5(vintageEngine = true)
testApi(projectTests(":compiler:tests-common-new"))
testApi(projectTests(":compiler:test-infrastructure"))
testApi(projectTests(":compiler:test-infrastructure-utils"))
testImplementation(projectTests(":compiler:tests-common"))
testImplementation(commonDependency("junit:junit"))
testCompileOnly(project(":kotlin-reflect-api"))
testRuntimeOnly(project(":kotlin-reflect"))
testRuntimeOnly(project(":core:descriptors.runtime"))
testRuntimeOnly(project(":compiler:fir:fir-serialization"))
testApi(intellijCore())
}
sourceSets {
"main" { none() }
"test" {
projectDefault()
generatedTestDir()
}
}
publish()
runtimeJar()
sourcesJar()
javadocJar()
testsJar()
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
useJUnitPlatform()
}