From 0b5747e9f709baa385880b7820e15ee270f3f1fd Mon Sep 17 00:00:00 2001 From: barakat_4065 Date: Mon, 5 Sep 2016 13:46:02 +0430 Subject: [PATCH] init --- README.md | 2 +- build.gradle | 3 ++- valueselectorlib/build.gradle | 26 +++++++++++++++++++++++++- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0b02dab..fe4db8c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ValueSelectorLib -Numeric TextView with add & minus btn. +Numeric TextView with add & minus btn for Android. ![Screenshots](https://github.com/mehdi-salehi/ValueSelectorLib/blob/master/ScreenShot/layout-2016-09-05-121416.png) diff --git a/build.gradle b/build.gradle index 168f129..15847e4 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,8 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:2.0.0' - + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4' + classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } diff --git a/valueselectorlib/build.gradle b/valueselectorlib/build.gradle index 564af51..799f216 100644 --- a/valueselectorlib/build.gradle +++ b/valueselectorlib/build.gradle @@ -53,4 +53,28 @@ task androidSourcesJar(type: Jar) { artifacts { archives androidSourcesJar archives androidJavadocsJar -} \ No newline at end of file +} + +ext { + bintrayRepo = 'maven' + bintrayName = 'ValueSelectorLib' + + publishedGroupId = 'com.narvancomputer' + libraryName = 'ValueSelectorLib' + artifact = 'ValueSelectorLib' + + libraryDescription = 'Numeric TextView with add & minus btn' + + siteUrl = 'https://github.com/mehdi-salehi/ValueSelectorLib' + gitUrl = 'https://github.com/mehdi-salehi/ValueSelectorLib.git' + + libraryVersion = '1.0.0' + + developerId = 'mehdi-salehi' + developerName = 'mehdi salehi' + developerEmail = 'meh2fari@gmail.com' + + licenseName = 'AGPL-V3' + licenseUrl = 'http://www.opensource.org/licenses/agpl-v3.html' + allLicenses = ["AGPL-V3"] +}