Nico
03/12/2020, 10:20 AMNico
03/12/2020, 10:22 AMtapchicoma
03/12/2020, 11:04 AMNico
03/12/2020, 11:39 AMtapchicoma
03/12/2020, 11:40 AMNico
03/12/2020, 11:42 AMtapchicoma
03/12/2020, 11:42 AMNico
03/12/2020, 11:42 AMNico
03/12/2020, 11:43 AMgradle dependencies
tapchicoma
03/12/2020, 11:44 AMcom.soywiz.korlibs.korge
?Nico
03/12/2020, 11:48 AMNico
03/12/2020, 11:48 AMNico
03/12/2020, 11:48 AMNico
03/12/2020, 11:49 AMtapchicoma
03/12/2020, 11:58 AMcommonMainApi
configuration, so project should compile.
I would advice you to check how you are publishing your library using this guide: https://docs.gradle.org/current/userguide/publishing_maven.html and https://docs.gradle.org/current/userguide/publishing_setup.html. Also in library setup update Gradle to latest version.Nico
03/12/2020, 12:00 PMtapchicoma
03/12/2020, 12:01 PMNico
03/12/2020, 12:04 PMtapchicoma
03/12/2020, 12:04 PMNico
03/12/2020, 12:04 PMtapchicoma
03/12/2020, 12:04 PMNico
03/12/2020, 12:08 PMNico
03/12/2020, 12:39 PMUnresolved reference: me
error !! Wtf!Nico
03/12/2020, 12:40 PMtapchicoma
03/12/2020, 12:44 PMtapchicoma
03/12/2020, 12:44 PMNico
03/12/2020, 12:45 PM> Configure project :
Kotlin Multiplatform Projects are an experimental feature.
> Task :compileKotlinJvm FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See <https://docs.gradle.org/6.2.2/userguide/command_line_interface.html#sec:command_line_warnings>
1 actionable task: 1 executed
e: /Users/user/dev/engineEmi/engineEmi_Template/src/commonMain/kotlin/Main.kt: (1, 8): Unresolved reference: me
e: /Users/user/dev/engineEmi/engineEmi_Template/src/commonMain/kotlin/Main.kt: (16, 9): Unresolved reference: engine
e: /Users/user/dev/engineEmi/engineEmi_Template/src/commonMain/kotlin/Main.kt: (21, 13): Unresolved reference: init
e: /Users/user/dev/engineEmi/engineEmi_Template/src/commonMain/kotlin/Main.kt: (28, 13): Unresolved reference: viewWillLoad
e: /Users/user/dev/engineEmi/engineEmi_Template/src/commonMain/kotlin/Main.kt: (35, 13): Unresolved reference: viewDidLoad
e: /Users/user/dev/engineEmi/engineEmi_Template/src/commonMain/kotlin/Main.kt: (39, 13): Unresolved reference: start
FAILURE: Build failed with an exception.
tapchicoma
03/12/2020, 12:46 PMNico
03/12/2020, 12:46 PMtapchicoma
03/12/2020, 12:50 PMpublishing {
publications {
val kotlinMultiplatform by getting {
Nico
03/12/2020, 1:11 PMNico
03/12/2020, 1:16 PMNico
03/12/2020, 2:16 PMtapchicoma
03/12/2020, 2:24 PMNico
03/12/2020, 2:28 PMkotlin{}
Block in the Build file does almost all configuration for the maven publishing already. So there is no need to do anything in the publishing{}
Block besides specifying the repository you publish to. (Most probably I messed the config up in there). Secondly: I used the gradle task publishAllPublicationsToMavenRepository
which did somehow fuck things up too. I use publish
nowNico
03/12/2020, 2:29 PMsystemProp.org.gradle.internal.publish.checksums.insecure=true
as gradle property because if you don’t have it bintray will fuck up your version numbers badly