https://kotlinlang.org logo
#arrow-contributors
Title
# arrow-contributors
m

mitch

02/03/2022, 10:25 AM
hi all! cc @simon.vergauwen i’m currently looking into
arrow-integrations
. In particular I’m fixing some incompatibilities between Jackson 2.13.1 and
arrow-integrations-jackson-module
. I’ve raised a PR with the fix. I wonder we can look into this? There’s a bunch of other updates as well to align with arrow-test, including shifting the test engine to kotest 5.x.x. As well, this should hopefully unblock arrow integrations to be released for version 1.0.0 because currently it’s still stuck at 0.13.2 😢. https://github.com/arrow-kt/arrow-integrations/pull/68
whoa @Imran/Malic thanks!! you’re fast
i

Imran/Malic

02/03/2022, 10:30 AM
Thanks @mitch 💪🏾
m

mitch

02/03/2022, 10:30 AM
🙇‍♂️
how do we plan to release this generally? what’s the release cycle
r

raulraja

02/03/2022, 10:42 AM
The module needs to be adapted to use the latest
arrow-gradle-config
plugins, then we can release versions of it for 1.0.0, 1.0.1 or just latest if you don’t need to backport and release together with 1.1.x which is the next release for arrow. We are close to 1.1.x. @Imran/Malic was porting
Cont
to Arrow to be the base effect for continuations.
👀 1
i

Imran/Malic

02/03/2022, 10:46 AM
I can help you integrate it @mitch if you need help
m

mitch

02/03/2022, 10:46 AM
that would be awesome
i

Imran/Malic

02/03/2022, 10:46 AM
We can set it up in your PR 😄
m

mitch

02/03/2022, 10:46 AM
lol let’s merge that first, i don’t want that to be monstrously large all of a sudden
i

Imran/Malic

02/03/2022, 10:47 AM
It’s fine with me finishing it in your PR the project isn’t that big
🙌 1
m

mitch

02/03/2022, 10:48 AM
that’ll be superb!
i

Imran/Malic

02/03/2022, 10:54 AM
We can rewrite the parts to build.gradle.kts but we can do it also in the grovvy dsl, what ever works best for you. lets add the required plugins first;
Copy code
plugins {
    alias(libs.plugins.kotlin.jvm) apply false
    alias(libs.plugins.arrowGradleConfig.kotlin)
    alias(libs.plugins.kotest.multiplatform) apply false
    alias(libs.plugins.kotlin.binaryCompatibilityValidator)
    alias(libs.plugins.arrowGradleConfig.nexus)
    alias(libs.plugins.arrowGradleConfig.versioning)
    alias(libs.plugins.arrowGradleConfig.publish)
}
where version = 0.9.1-alpha.3
It would be great having the toml file like here https://github.com/arrow-kt/arrow-gradle-config/blob/main/gradle/libs.versions.toml for that project, bc then in the future renovate can update the project depedencies automatically
m

mitch

02/03/2022, 10:56 AM
nice
i’ll do that now
i

Imran/Malic

02/03/2022, 10:59 AM
we only need to add this in the
setting.gradle.kts
Copy code
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("VERSION_CATALOGS")

dependencyResolutionManagement {
  repositories {
    mavenCentral()
    gradlePluginPortal()
  }
}
and add the
libs.version.toml
file under the
gradle
directory.
m

mitch

02/03/2022, 11:07 AM
hmm i’m pretty sure i’m doing something silly here
Copy code
e: /Users/myuwono/Development/arrow-integrations/build.gradle.kts:2:3: Unresolved reference: alias
oh ok i haven’t fixed settings.kts
@Imran/Malic
Unresolved reference: libs
i’ve got this now
in build.gradle.kts
i

Imran/Malic

02/03/2022, 11:18 AM
Can you committ what you have and I take a look
m

mitch

02/03/2022, 11:20 AM
pushed
I’m still getting unresolved reference: libs, surely i’m doing something wrong on the most basic level
I’m going to revert the gradle changes and merge the PR with the fixes first @Imran/Malic it’s quite late here. i’ll continue tomorrow
i

Imran/Malic

02/03/2022, 11:59 AM
Ok sure 😄 we can tackle this in another PR
m

mitch

02/03/2022, 12:03 PM
haha yeah it turns out to be quite a rabbit hole! raised https://github.com/arrow-kt/arrow-integrations/issues/70
thanks for your help @Imran/Malic i’m checking out for the time being
i

Imran/Malic

02/03/2022, 12:07 PM
Always 😄
26 Views