github square/kotlinpoet 1.18.1

latest release: 2.0.0
4 months ago

Thanks to @mitasov-ra for contributing to this release.

  • Fix: Workaround for KT-18706: KotlinPoet now generates import aliases without backticks (#1920).
// before, doesn't compile due to KT-18706
import com.example.one.`$Foo` as `One$Foo`
import com.example.two.`$Foo` as `Two$Foo`

// now, compiles
import com.example.one.`$Foo` as One__Foo
import com.example.two.`$Foo` as Two__Foo

Don't miss a new kotlinpoet release

NewReleases is sending notifications on new releases.