Skip to content

Instantly share code, notes, and snippets.

Avatar

Georgios Savvidis gsavvid

  • Vienna
View GitHub Profile
@gsavvid
gsavvid / publishMavenBintray.gradle
Last active Sep 28, 2020 — 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.
View publishMavenBintray.gradle
/**
* 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:
View gist:8ceb425a272713727bf3b0d0db404494
### 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:
You can’t perform that action at this time.