Last active
September 28, 2019 19:36
-
-
Save prof18/ac3a632e7604436f483220c435b6edef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.jfrog.bintray' | |
group 'com.your.awesome.lib' | |
version '1.0.0' | |
project.ext { | |
mavGitUrl = 'https://github.com/prof18/AwesomeLib.git' | |
mavProjectName = 'AwesomeLib' | |
mavLibraryLicenses = ["Apache-2.0":'http://www.apache.org/licenses/LICENSE-2.0.txt'] | |
mavLibraryDescription = "An Awesome Android library" | |
mavPublishToMavenLocal = true | |
mavSiteUrl = 'https://github.com/prof18/AwesomeLib' | |
} | |
def properties = new Properties() | |
properties.load(new FileInputStream("local.properties")) | |
bintray { | |
user = properties.getProperty("bintray.user") | |
key = properties.getProperty("bintray.apikey") | |
publications = ['Production'] | |
configurations = ['archives'] | |
override = true | |
pkg { | |
repo = 'maven' | |
name = 'AwesomeLib' | |
description = "It's an awesome lib" | |
publicDownloadNumbers = true | |
licenses = ['Apache-2.0'] | |
vcsUrl = 'https://github.com/prof18/AwesomeLib' | |
version { | |
name = this.version | |
desc = "Version ${this.version}" | |
released = new Date() | |
vcsTag = this.version | |
} | |
} | |
} | |
apply from: 'https://raw.githubusercontent.com/sky-uk/gradle-maven-plugin/master/gradle-mavenizer.gradle' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment