Skip to content

Instantly share code, notes, and snippets.

View gsavvid's full-sized avatar
👋

Georgios Savvidis gsavvid

👋
View GitHub Profile
### Keybase proof
I hereby claim:
* I am gsavvid on github.
* I am gsavvid (https://keybase.io/gsavvid) on keybase.
* I have a public key ASAwDUZDoq-eyBE8BSn2HIG5kjieTeKxeKx8-VoADyIV-Qo
To claim this, I am signing this object:
@gsavvid
gsavvid / publishMavenBintray.gradle
Last active November 2, 2022 12:48 — forked from Robyer/maven-publish-helper-usage.gradle
Gradle script for publishing Android Kotlin libraries to a Bintray repository using maven-publish plugin. With dependencies (also handling transitive: false and custom exclude rules), including sources and javadoc.
/**
* Publish Android Kotlin Library Helper
*
* This Gradle script is based on https://gist.github.com/Robyer/a6578e60127418b380ca133a1291f017.
* The difference is that:
* 1. It uses Dokka for generating Kotlin Javadoc.
* 2. It uses Jfrog's plugin for publishing to Bintray. If you don't want to publish to Bintray, simply remove all the Bintray-related code.
*
* NOTE: You need to add Dokka and Bintray to your classpath for the two plugins to work.
* Update the buildscript in your project's build.gradle with the following: