Gradle multiplatform build fails

Trying to run gradle publishToMavenLocal on a kotlin multi platform project and i get the following error

An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.multiplatform', version: '1.3.72']
> Failed to apply plugin [id 'org.jetbrains.kotlin.multiplatform']
   > Could not create plugin of type 'KotlinMultiplatformPluginWrapper'.
      > org/gradle/api/internal/FeaturePreviews

Any body know why?