What part of the template/yaml/gradle config is ne...
# touchlab-tools
d
What part of the template/yaml/gradle config is necessary for the .aar to be uploaded to the Release? Because I see all other stuff, but I'm missing the .aar in there. Despite I have
Copy code
// For publishing Android AAR files to GitHub Packages
addGithubPackagesRepository()
in my gradle file.
k
As mentioned previously, KMMBridge has nothing to do with Android. The quick start includes Android out of convenience, but it is designed to work with the same repo as the target, and any tweaking of Android setup is something you need to figure out. For help with your Android aar publishing Gradle config, you'll probably want a more general channel. I'd also suggest posting much more of your config, as trying to debug from the info provided would be rather difficult.
d
why do you state "KMMBridge has nothing to do with Android" when in kmmbridge.jar you have this?:
Copy code
// For publishing Android AAR files to GitHub Packages
addGithubPackagesRepository()
k
i’ve explained it multiple times. That’s a helper function. All it’s doing is setting up your maven repositories using GitHub’s information. I guess, technically, you could argue that my statement was false, and that kmmbridge does indeed have something to do with Android, but for your purposes, it would be a lot easier to pretend like that function doesn’t exist.
especially if you’re publishing to a different repository, that function is completely pointless and you should forget it’s there
d
I'm not publishing to a different repository, that was another thread
k
OK. Well, the template repo only publishes
analytics
and
breeds
as Android artifacts.
allshared
does not. That's iOS-only. Look at the Gradle config for those to see if you're missing things.