How do I adjust IDEA settings to select my modifie...
# compiler
h
How do I adjust IDEA settings to select my modified kotlin compiler under the artifacts directory as the one I want to use going forward?
d
It depends on what do you want If you need to test how local build of compiler works with some test project (and that project uses maven/gradle) then you need to publish compiler build to local maven repository (
gradlew install
for
$HOME/.m2/repo
or
gradlew publish
for
$KOTLIN_PROJECT/dist/repo
), and this repo to your project (via
mavenLocal()
or
maven("...")
) and change compiler version to
1.5.255-SNAPSHOT
But if you want to build IDEA plugin with your changes then you can run sandbox IDEA with plugin which built from sources using
gradlew runIde
or choose
IDEA -> IDEA
run configuration