Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants