Hi! Is there a way to avoid hardcoded shapshot ver...
# arrow-meta
n
Hi! Is there a way to avoid hardcoded shapshot version of arrow meta intellij plugin?
Here is an example^^
Copy code
intellij {
    version = "2020.2.1"
    setPlugins(
        "gradle", "gradle-java", "java", "org.jetbrains.kotlin:${KOTLIN_IDEA_VERSION}",
        "git4idea", "io.arrow-kt.arrow:1.4.10-SNAPSHOT-1606149534"
    )

    pluginsRepo {
        custom("<https://meta.arrow-kt.io/idea-plugin/latest-snapshot/updatePlugins.xml>")
        maven("<https://plugins.jetbrains.com/maven>")
    }
}
I've tried to look into intellij gradle plugin and found that dependency resolution algorithm for custom repositories parses updatePlugins.xml and compares version using string equality, no sign of wildcards :C
r
Hi @Nikita Klimenko [JB], I think Intellij IDEA plugins just allow specific versions.
1.4.10-SNAPSHOT
couldn't be used because Intellij IDEA wouldn't detect a new published plugin with the same version. A new example in
arrow-meta-examples
will be published to show a trick to use the latest SNAPSHOT version without updating the configuration file manually 🙌
n
@Rachel Thank you!