Skip to content

Commit

Permalink
updated publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
nisrulz committed Aug 22, 2017
1 parent 566e686 commit 0dda927
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion qreader/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,40 @@ dependencies {
compile "com.google.android.gms:play-services-vision:$rootProject.ext.playServicesVersion"
}

apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/nishant-config.gradle'
if (project.hasProperty('publish') && project.getProperty('publish')) {
// Bintray Params
ext {
bintrayRepo = 'maven'
bintrayName = rootProject.ext.libBintrayName

publishedGroupId = GROUP
libraryName = rootProject.ext.libModuleName
artifact = rootProject.ext.libModuleName // Has to be same as your library module name

libraryDescription = rootProject.ext.libModuleDesc

// Your github repo link
siteUrl = rootProject.ext.libPomUrl
gitUrl = rootProject.ext.libPomUrl + '.git'
githubRepository = rootProject.ext.libGithubRepo

libraryVersion = rootProject.ext.libVersionName

developerId = POM_DEVELOPER_ID
developerName = POM_DEVELOPER_NAME
developerEmail = POM_DEVELOPER_EMAILID

licenseName = POM_LICENCE_NAME
licenseUrl = POM_LICENCE_URL
allLicenses = [POM_ALL_LICENCES]
}

// Place it at the end of the file
apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/bintrayv1.gradle'


javadoc {
failOnError = false
}
}

0 comments on commit 0dda927

Please sign in to comment.