Skip to content

Commit

Permalink
Merge branch 'release/1.4.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
prof18 committed Sep 8, 2018
2 parents d28ee85 + 893cd3f commit 420dbe8
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 91 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat)

## Important Notice
Versions 1.4 and 1.4.1 have been deleted due to a critical dependency error. Please forgive me and update to version 1.4.4

## About

This is an Android library to parse a RSS Feed. You can retrive the following information about an article:
<ul>
<li> Title
Expand All @@ -22,7 +27,7 @@ This is an Android library to parse a RSS Feed. You can retrive the following in
The library is uploaded in jCenter, so you can easily add the dependency:
```Gradle
dependencies {
compile 'com.prof.rssparser:rssparser:1.4.1'
compile 'com.prof.rssparser:rssparser:1.4.4'
}
```
#### Use:
Expand Down Expand Up @@ -59,8 +64,7 @@ You can also download the <a href="https://github.com/prof18/RSS-Parser/blob/mas
Please use the issues tracker only to report issues. If you have any kind of question you can ask it on [the blog post on my website](http://www.marcogomiero.com/blog/rss-parser-library)

## Changelog
- 18 May 2018 - Removed unused resources and improved the parsing of the image - Version 1.4.1
- 6 May 2018 - Add more sources for the featured image - Version 1.4 (Not available anymore)
- 7 Semptember 2018 - Add more sources for the featured image. Removed unused resources and improved the parsing of the image. Fixed dependency errors. - Version 1.4.4
- 14 December 2017 - Little fixes on Error Management - Version 1.3.1
- 13 December 2017 - Improved Error Management - Version 1.3
- 10 December 2017 - Added support for the categories - Version 1.2
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation project(":rssparser")
//implementation 'com.prof.rssparser:rssparser:1.4.1'
// implementation 'com.prof.rssparser:rssparser:1.4.4'
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support:recyclerview-v7:27.1.0'
implementation 'com.android.support:cardview-v7:27.1.0'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
}
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath "com.github.dcendents:android-maven-gradle-plugin:1.5"
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
59 changes: 4 additions & 55 deletions rssparser/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
apply plugin: 'com.android.library'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'com.github.dcendents.android-maven'


android {
compileSdkVersion 27

defaultConfig {
minSdkVersion 14
targetSdkVersion 27
versionCode 7
versionName "1.4.1"
versionCode 8
versionName "1.4.4"
}

buildTypes {
Expand All @@ -25,55 +24,5 @@ dependencies {
}


group = 'com.prof.rssparser'
version = '1.4.1'

task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}

afterEvaluate {
javadoc.classpath += files(android.libraryVariants.collect { variant ->
variant.javaCompiler.classpath.files
})
}

task generateSourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier 'sources'
}

task generateJavadocsJar(type: Jar) {
from javadoc.destinationDir
classifier 'javadoc'
}

generateJavadocsJar.dependsOn javadoc

bintray {
user = 'prof18'
key = 'API_KEY'
pkg {
repo = 'maven'
name = 'RSS-Parser'
apply from: 'publish.gradle'

version {
name = '1.4.1'
desc = 'A library to parse RSS feed'
released = new Date()
vcsTag = '1.4.1'
}

licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/prof18/RSS-Parser.git'
websiteUrl = 'https://github.com/prof18/RSS-Parser'
}
configurations = ['archives']

}

artifacts {
archives generateJavadocsJar
archives generateSourcesJar
}
58 changes: 58 additions & 0 deletions rssparser/publish.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'

version '1.4.4'
group 'com.prof.rssparser'

publishing {
publications {
Production(MavenPublication) {
artifact("$buildDir/outputs/aar/rssparser-release.aar") {
builtBy tasks.getByName("assembleRelease")
}
groupId
artifactId 'rssparser'
version this.version

pom.withXml {
def dependenciesNode = asNode().appendNode('dependencies')

// Iterate over the implementation dependencies (we don't want the test ones), adding a <dependency> node for each
configurations.implementation.allDependencies.each {
// Ensure dependencies such as fileTree are not included in the pom.
if (it.name != 'unspecified') {
def dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', it.group)
dependencyNode.appendNode('artifactId', it.name)
dependencyNode.appendNode('version', it.version)
}
}
}
}
}
}

def properties = new Properties()
properties.load(new FileInputStream("local.properties"))

bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
publications = ['Production']
configurations = ['archives']
override = true
pkg {
repo = 'maven'
name = 'RSS-Parser'
description = "An Android library to parse RSS Feed"
publicDownloadNumbers = true
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/prof18/RSS-Parser.git'
version {
name = this.version
desc = "Example ${this.version}"
released = new Date()
vcsTag = this.version
}
}
}

This file was deleted.

15 changes: 0 additions & 15 deletions rssparser/src/test/java/com/prof/rssparser/ExampleUnitTest.java

This file was deleted.

0 comments on commit 420dbe8

Please sign in to comment.