Slackbot
05/27/2021, 4:47 AMBig Chungus
06/16/2021, 11:40 PMmbonnin
06/21/2021, 7:02 PMModule was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16
and I'm wondering how safe it is to compile libs with Kotlin 1.5 if you expect consumers to use 1.3 or 1.4 for some reason. I was under the impression that it would work but this message seems to indicate otherwise. There are a few stack overflow github issue and everytime the solution seems to bump the Kotlin version in the consumer project, which might not always be possible easily. Has anyone more details about how safe it is?Andrei Oshanin
07/02/2021, 9:57 AMmbonnin
07/12/2021, 9:39 AMalpha
versions with "0"
but not doing it for their releases:
• 3.2.1
• 3.3.0-alpha01
Is there a reason for this? If I read https://docs.gradle.org/current/userguide/single_versions.html#version_ordering correctly, it will also work without the leading "0"
, Gradle should consider alpha10 > alpha2
in all cases ?joseph_ivie
08/24/2021, 6:58 PMAlina Dolgikh [JB]
09/10/2021, 2:22 PMaltavir
09/10/2021, 3:34 PMlouiscad
09/14/2021, 9:12 AMRafael Costa
10/31/2021, 5:42 AMMatthew Pope
11/17/2021, 1:00 AMapiVersion = "1.3"
and force my tests to use a 1.3.n
version of kotlin-stdlib-jdk
, that should both set and validate that my library will work for consumers using Kotlin 1.3, right? (The relevant excerpts from my build.gradle
file are in the thread so I don’t spam the channel with a wall of build script.)mbonnin
11/22/2021, 4:01 PM@OptIn(ExperimentalContracts::class)
in a library? Looks like contracts {}
blocks do not generate any bytecode (besides metadata?) so as long as it's only used internally it should be fine?Rafael Costa
11/25/2021, 11:44 AM0.9.0-beta
but now the idea would be something like (just to convey the point, not that I’d call them that, I guess?) 0.9.1-beta-stable
and 0.9.1-beta-beta
.Kyle Roe
12/03/2021, 4:25 PMmbonnin
12/07/2021, 2:31 PMCloseable
as a parameter, is there a nice way to indicate whether the function actually closes the Closeable
or if it's the caller responsibility? Ideally looking at the signature only?mbonnin
12/17/2021, 3:58 PMzsmb
01/18/2022, 9:06 AMStarting with Kotlin 1.6.0, we will support development for three previous API versions instead of two, along with the current stable one. Currently, we support versions 1.3, 1.4, 1.5, and 1.6.
Lulu
02/20/2022, 11:17 PMRak
03/23/2022, 10:01 AMNathan Bedell
04/21/2022, 11:04 PMMatthew Pope
05/13/2022, 6:09 PMVivek Modi
05/18/2022, 10:56 PMVivek Modi
05/19/2022, 9:24 AM./gradlew publish
I am getting error. My build.gradle.kts. I am getting error on this
* What went wrong:
Execution failed for task ':publishKotlinMultiplatformPublicationToKotlinMultiplatfromProjectRepository'.
> Failed to publish publication 'kotlinMultiplatform' to repository 'KotlinMultiplatfromProject'
> Could not PUT '<https://maven.pkg.github.com/vivek-modi/KotlinMultiplatfromProject/me/vmodi/KotlinMultiplatfromProject-kotlinMultiplatform/1.0.0/KotlinMultiplatfromProject-kotlinMultiplatform-1.0.0.jar>'. Received status code 422 from server: Unprocessable Entity
mbonnin
05/21/2022, 11:15 AMRafael Costa
05/27/2022, 9:00 AMTheOnlyTails
05/29/2022, 9:33 AMrkeazor
07/01/2022, 2:02 AMaenri
07/11/2022, 1:45 AM:generateMetadataFileForKotlinMultiplatformPublication
with the error Invalid publication "kotlinMultiplatform"
while using the maven-publish
plugin. Is this something that there's a fix for or should I be doing something else to publish my library?Lukellmann
07/19/2022, 1:12 PMHIDDEN
?
for WARNING
and ERROR
you can do this:
@Deprecated("w", level = DeprecationLevel.WARNING)
val w = "w"
@Deprecated("e", level = DeprecationLevel.ERROR)
val e = "e"
@Deprecated("h", level = DeprecationLevel.HIDDEN)
val h = "h"
println(@Suppress("DEPRECATION") w)
println(@Suppress("DEPRECATION_ERROR") e)
println(@Suppress("?? what goes here ??") h)
Lukellmann
07/23/2022, 4:48 PM@RequiresOptIn
annotations in our library.
1. Experimental annotations for some new API that might change.Lukellmann
07/23/2022, 4:48 PM@RequiresOptIn
annotations in our library.
1. Experimental annotations for some new API that might change.