diff --git a/build.gradle b/build.gradle index 74b2ab0..04849c0 100644 --- a/build.gradle +++ b/build.gradle @@ -6,6 +6,8 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/utility/build.gradle b/utility/build.gradle index b8f177a..2f9825b 100644 --- a/utility/build.gradle +++ b/utility/build.gradle @@ -1,5 +1,29 @@ apply plugin: 'com.android.library' +ext { + bintrayRepo = 'Android-Utility' + bintrayName = 'Android-Utility' + + publishedGroupId = 'com.android.utility' + libraryName = 'Android-Utility' + artifact = 'Android-Utility' + + libraryDescription = 'some utility function for android' + + siteUrl = 'https://github.com/pawanchauhan05/AndroidUtility' + gitUrl = 'https://github.com/pawanchauhan05/AndroidUtility.git' + + libraryVersion = '0.0.1' + + developerId = 'pawanchauhan05' + developerName = 'Pawan Singh Chauhan' + developerEmail = 'pawansinghchouhan05@gmail.com' + + licenseName = 'The Apache Software License, Version 2.0' + licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' + allLicenses = ["Apache-2.0"] +} + android { compileSdkVersion 25 buildToolsVersion "25.0.2" @@ -22,11 +46,15 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) + compile fileTree(include: ['*.jar'], dir: 'libs') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.1.1' compile 'com.google.code.gson:gson:2.4' + compile 'com.android.support:support-v4:25.1.1' testCompile 'junit:junit:4.12' } + +apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle' +apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle' \ No newline at end of file