Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add local maven version debug builds #35

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

theosirian
Copy link
Contributor

Adds a debug publication that can be used to generate a local maven artifact.
It requires that mvn be installed, for instance, in MacOS with Homebrew, it would be brew install maven.

VERSION=0.0.32-local ./gradlew publishDebugPublicationToMavenLocal

To use this publication with other projects, it's necessary to add mavenLocal() to its repositories:

--- a/android/build.gradle
+++ b/android/build.gradle
@@ -19,6 +19,7 @@ buildscript {
    repositories {
        google()
        mavenCentral()
+        mavenLocal()
    }

    dependencies {
@@ -36,6 +37,7 @@ allprojects {
    repositories {
        google()
        mavenCentral()
+        mavenLocal()
    }
}

@theosirian theosirian merged commit 04bca18 into main Oct 7, 2024
2 checks passed
@theosirian theosirian deleted the add-local-maven-debug-build branch October 7, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants