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

Android publishing refactor #2220

Merged
merged 2 commits into from
Dec 28, 2020
Merged

Android publishing refactor #2220

merged 2 commits into from
Dec 28, 2020

Conversation

matteblair
Copy link
Member

Using Gradle's "publications" feature works mostly the same as the plugin we were previously using, but with greater flexibility. In particular, this approach makes it simple to publish to your local Maven repository, which is very useful for inspecting the package contents before publishing it to a server.

Publishing plugin documentation: https://developer.android.com/studio/build/maven-publish-plugin

I used the OkHTTP publishing configuration for reference: https://github.com/square/okhttp/blob/000bb666529148595f91ecad822baf7ae07fbcc5/build.gradle#L285-L342

@matteblair matteblair merged commit 7e9961f into master Dec 28, 2020
@matteblair matteblair deleted the android-publishing-refactor branch December 28, 2020 19:16
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.

1 participant