Sam
08/01/2019, 4:20 PMgradle init --type kotlin-application
and I have added these lines (found [here](https://github.com/JetBrains/kotlin/#including-into-composite-build)) to my `settings.gradle`:
includeBuild('/path/to/kotlin') {
dependencySubstitution {
substitute module('org.jetbrains.kotlin:kotlin-compiler') with project(':include:kotlin-compiler')
}
}
When I do a ./gradlew build --info
in my starter project, I can see that the there are :kotlin:*
tasks running (though they re-run only after I do a ./gradlew dist
in the kotlin compiler repo) but the changes I've made to the Kotlin compiler (I've added some print/logging statements) are not showing up when compiling the code in my project.
Any suggestions on how I can get my project to compile with a built-from-source Kotlin compiler using Gradle?Ilmir Usmanov [JB]
08/01/2019, 4:30 PM./gradlew dist install publish
publishes kotlin version 1.3-SNAPSHOT
to maven local.
Thus, after doing this, use mavenLocal()
repo in buildscript and set $kotlin_version
to 1.3-SNAPSHOT
.ilya.gorbunov
08/01/2019, 4:47 PMinstall
is enough for such usage.ilya.gorbunov
08/01/2019, 4:49 PMSam
08/01/2019, 9:07 PM