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

serve aar from github release #6733

Open
farfromrefug opened this issue Dec 16, 2024 · 1 comment
Open

serve aar from github release #6733

farfromrefug opened this issue Dec 16, 2024 · 1 comment

Comments

@farfromrefug
Copy link

I have a project for which the build is really complicated and long. Also the resulting aar is around 20Mb.
So committing the release aar is not a good choice, and jitpack.io wont build the repo.

Is (could) there a way to tell jipack.io to "serve" a aar from a github release?

If not i think it would be a great addition. It would also reduce global storage usage as releases are already stored on github.

@sokolyaka
Copy link

I have a similar case where I must publish the already pre-built ARR.
To do this, I created a separate repository where I keep the already pre-built AAR, and publish config looks like this:

publishing {
    publications {
        create<MavenPublication>("release") {
            groupId = "my_groupId"
            artifactId = "my_artifactId"
            version = "my_version"

            artifact(file("libs/my_lib.aar"))
        }
    }
}

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

No branches or pull requests

2 participants