ci: Complete Maven Central publishing workflow and Android publishing scripts#62
Merged
andredestro merged 4 commits intomainfrom Jan 22, 2026
Merged
ci: Complete Maven Central publishing workflow and Android publishing scripts#62andredestro merged 4 commits intomainfrom
andredestro merged 4 commits intomainfrom
Conversation
Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com>
OS-pedrogustavobilro
requested changes
Jan 21, 2026
Contributor
There was a problem hiding this comment.
Per this error - Also missing this from the packages/capacitor-plugin/android/build-gradle. Same for geolocation
buildscript {
repositories {
// add this below other repositories
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
// add this
if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
classpath 'io.github.gradle-nexus:publish-plugin:1.3.0'
}
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
apply plugin: 'io.github.gradle-nexus.publish-plugin'
apply from: file('../../../scripts/android/publish-root.gradle')
apply from: file('../../../scripts/android/publish-module.gradle')
}And the capacitor dependency should be like below (same for geolocation):
dependencies {
if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
implementation "com.capacitorjs:core:$capacitorVersion"
} else {
implementation project(':capacitor-android')
}
}Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com>
0b85ca5 to
7733b00
Compare
OS-pedrogustavobilro
approved these changes
Jan 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.