Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Project can use kotlin-gradle-plugin 1.0.x #189

Closed
bamboo opened this issue Nov 29, 2016 · 1 comment
Closed

Project can use kotlin-gradle-plugin 1.0.x #189

bamboo opened this issue Nov 29, 2016 · 1 comment

Comments

@bamboo
Copy link
Member

bamboo commented Nov 29, 2016

The recent upgrade to Kotlin 1.1-M03 (#187) broke Kotlin 1.0.x support.

To reproduce:

➜  gradle-script-kotlin git:(master) ✗ cd fixtures/plugin-compiled-against-kotlin-1.0 && ../../gradlew assemble
:compileKotlin
e: java.lang.NoClassDefFoundError: Could not initialize class org.jetbrains.kotlin.platform.JavaToKotlinClassMap
        at org.jetbrains.kotlin.resolve.jvm.platform.JvmPlatform$defaultModuleParameters$1.getPlatformToKotlinClassMap(JvmPlatform.kt:35)
        at org.jetbrains.kotlin.descriptors.impl.ModuleDescriptorImpl.getPlatformToKotlinClassMap(ModuleDescriptorImpl.kt)
        at org.jetbrains.kotlin.context.ModuleContext$DefaultImpls.getPlatformToKotlinClassMap(context.kt:46)
        at org.jetbrains.kotlin.context.MutableModuleContext$DefaultImpls.getPlatformToKotlinClassMap(context.kt)
        at org.jetbrains.kotlin.context.MutableModuleContextImpl.getPlatformToKotlinClassMap(context.kt:90)
        ...
@bamboo
Copy link
Member Author

bamboo commented Feb 24, 2017

Fixed by the upgrade to Kotlin 1.1.0-rc-91 (#264).

@bamboo bamboo closed this as completed Feb 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant