Joey
12/26/2019, 2:45 AM* What went wrong:
A problem occurred evaluating settings 'sample-kt-sharedlib'.
> Could not find method enableFeaturePreview() for arguments [GRADLE_METADATA] on settings 'sample-kt-sharedlib' of type org.gradle.initialization.DefaultSettings.
Any suggested solution to this? Im trying to upload a multiplatform lib to bintray. Thanks! B-)yshrsmz
12/26/2019, 3:26 AMrusshwolf
12/26/2019, 3:38 AMenableFeaturePreview("GRADLE_METADATA")
Joey
12/26/2019, 3:39 AM* What went wrong:
An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.multiplatform', version: '1.3.61']
> Failed to apply plugin [id 'org.jetbrains.kotlin.multiplatform']
> Could not create plugin of type 'KotlinMultiplatformPluginWrapper'.
> org/gradle/api/internal/FeaturePreviews
russhwolf
12/26/2019, 3:43 AMJoey
12/26/2019, 3:44 AMid 'com.jfrog.bintray' version '1.8.4'
and i am also following this tutorial
<https://natanfudge.github.io/fudgedocs/publish-kotlin-mpp-lib.html>
Dominaezzz
12/26/2019, 11:36 AMwithJava()
Joey
12/26/2019, 11:49 AMsample.kt
to test whether kotlin can use the functions of the imported library. And, yes it can use but when i try to call the functions in an Activity (MainActivity.java
) it says cannot resolve