Skip to content

Instantly share code, notes, and snippets.

@gmazzo
Created September 7, 2021 09:58
Show Gist options
  • Save gmazzo/8cf43528ee4e0a25d906fcce8480ab7e to your computer and use it in GitHub Desktop.
Save gmazzo/8cf43528ee4e0a25d906fcce8480ab7e to your computer and use it in GitHub Desktop.
Android Library Maven Publication
plugins {
id("com.android.library")
`maven-publish`
}
publishing {
repositories {
// TODO define your publish repos here
}
publications {
create<MavenPublication>("default") {
from(components["all"])
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment