tschuchortdev / kotlin-compile-testing

A library for testing Kotlin and Java annotation processors, compiler plugins and code generation
Mozilla Public License 2.0
661 stars 63 forks source link

Remove setting singleModule on compilation args in KotlinCompilation.kt #350

Closed wangk5 closed 1 year ago

wangk5 commented 1 year ago

singleModule was removed from K2JVMCompilerArguments in https://github.com/JetBrains/kotlin/commit/a76de140265a4fdd03fb9c7b642a9cdef7c9c179

As a result setting singleModule will result in a NoSuchMethodError. This fixes it

3flex commented 1 year ago

Also covered in #344