Include directions on how to enable compiling with IR

This commit is contained in:
Brian Norman
2020-02-06 11:36:56 -06:00
parent a880da3959
commit e9f401da2e
+14
View File
@@ -49,6 +49,20 @@ assert(hello.length == "World".substring(1, 4).length)
at <stacktrace>
```
## Kotlin IR
Using this compiler plugin only works if the code is compiled using IR. This can
only be enabled when compiling the test SourceSet if desired. As Kotlin IR is
still experimental, mileage may vary.
```groovy
compileTestKotlin {
kotlinOptions {
useIR = true
}
}
```
## Project Snapshots
Snapshot builds are available through Sonatype Snapshot repository.