Skip to content

Commit

Permalink
feat: removed maven
Browse files Browse the repository at this point in the history
  • Loading branch information
code-crusher committed Jan 19, 2017
1 parent 02bf78e commit b110440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 47 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down
47 changes: 1 addition & 46 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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']
}

0 comments on commit b110440

Please sign in to comment.