Is there a Kotlin/IDEA thing like Swift Package Ma...
# getting-started
k
Is there a Kotlin/IDEA thing like Swift Package Manager?
d
you mean something like #gradle G or maven?
k
With SPM I can just upload anything to GitHub (or any other Git remote) with a particular file structure and a Packages.swift file, and then it'll show up in Xcode as a package that'll be automatically updated like Gradle and Maven do. Is that something I can do with Gradle and Maven? Just upload something to GitHub with a particular file structure and a package file and it'll immediately show up in IDEA?
s
I guess the closest thing to what you want might be Jitpack? https://jitpack.io
Obviously depends on what you mean by “immediately”
k
But there's nothing official? Like SPM is by the same teams which made Swift and Xcode, which gives me more confidence they'll stay around and get better support
@Shawn I mean immediately. I click push in my client, tab over to the IDE, type its name into the package search, and it's already there
m
#package-search maybe
j
What you want is probably just a Maven repository. As for 'staying around', it's the main way all JVM artifacts are distributed so it will probably be around forever at this rate. Consider using the Github Package Registry, it's easy and free for small-ish scale stuff without the additional requirements of something like Maven Central. If you want to publish your code more widely though Maven Central is highly recommended but has a bunch of requirements (source jars, GPG signing etc). A more lax option is JCenter. You will want to use one of these for proper OSS.
👌 5
k
Thank you all!