https://kotlinlang.org logo
#compiler
Title
# compiler
s

server

02/08/2022, 11:19 PM
maybe I need to add some more jars as dependencies? my plugin has this
Copy code
dependencies {
    compileOnly("org.jetbrains.kotlin:kotlin-compiler-embeddable")

    kapt("com.google.auto.service:auto-service:1.0")
    compileOnly("com.google.auto.service:auto-service-annotations:1.0")

    testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.2")
    testImplementation(kotlin("test-junit"))
    testImplementation("org.jetbrains.kotlin:kotlin-compiler-embeddable")
    testImplementation("com.github.tschuchortdev:kotlin-compile-testing:1.4.4")

    testImplementation("org.junit.jupiter:junit-jupiter-params:5.8.1")
s

Strum355

02/09/2022, 10:58 AM
If youre interested in an example, we have a testing setup for our compiler plugin here: https://github.com/sourcegraph/lsif-kotlin/tree/main/semanticdb-kotlinc
s

server

02/09/2022, 4:29 PM
@Strum355 thx
2 Views