-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
74 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} |
13 changes: 0 additions & 13 deletions
13
rssparser/src/androidTest/java/com/prof/rssparser/ApplicationTest.java
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
rssparser/src/test/java/com/prof/rssparser/ExampleUnitTest.java
This file was deleted.
Oops, something went wrong.