From b11044078f8a8923d3f4501be5ec2968aa8fb1e7 Mon Sep 17 00:00:00 2001 From: Vatsal-Bajpai Date: Fri, 20 Jan 2017 00:12:56 +0530 Subject: [PATCH] feat: removed maven --- build.gradle | 2 +- library/build.gradle | 47 +------------------------------------------- 2 files changed, 2 insertions(+), 47 deletions(-) diff --git a/build.gradle b/build.gradle index c03d112..5c79079 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:2.2.3' - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' classpath "com.github.dcendents:android-maven-gradle-plugin:1.5" } } diff --git a/library/build.gradle b/library/build.gradle index 098fc15..ad3f1a2 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -2,8 +2,7 @@ apply plugin: 'com.android.library' apply plugin: 'com.jfrog.bintray' apply plugin: 'com.github.dcendents.android-maven' -group = 'github.vatsal.easyweather' -version = '1.1' +group = 'com.github.vatsal' android { compileSdkVersion 25 @@ -30,48 +29,4 @@ dependencies { compile 'com.squareup.retrofit2:retrofit:2.1.0' compile 'com.squareup.retrofit2:converter-gson:2.1.0' compile 'com.squareup.okhttp3:logging-interceptor:3.4.2' -} - -task generateSourcesJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier 'sources' -} - -task generateJavadocs(type: Javadoc) { - source = android.sourceSets.main.java.srcDirs - classpath += project.files(android.getBootClasspath() - .join(File.pathSeparator)) -} - -task generateJavadocsJar(type: Jar) { - from generateJavadocs.destinationDir - classifier 'javadoc' -} - -generateJavadocsJar.dependsOn generateJavadocs - -artifacts { - archives generateJavadocsJar - archives generateSourcesJar -} - -bintray { - user = 'code-crusher' - key = '5ddba039b9c71692da10f261cc92394fe3f93d77' - pkg { - repo = 'maven' - name = 'EasyWeather' - - version { - name = 'library' - desc = 'Easy weather and forecast fetching from OpenWeatherMap API for Android.' - released = new Date() - vcsTag = '1.1' - } - - licenses = ['Apache-2.0'] - vcsUrl = 'https://github.com/code-crusher/EasyWeather.git' - websiteUrl = 'https://github.com/code-crusher/EasyWeather' - } - configurations = ['archives'] } \ No newline at end of file