Remove unnecessary Android-specific stuff (#319)

This commit is contained in:
Jorge Antonio Díaz-Benito Soriano 2018-05-03 15:39:37 +02:00 committed by Ramona Harrison
parent 2866e4bd95
commit d26d50a5b6
9 changed files with 40 additions and 153 deletions

View file

@ -2,11 +2,11 @@
![Store Logo](https://raw.githubusercontent.com/NYTimes/Store/feature/rx2/Images/store-logo.png) ![Store Logo](https://raw.githubusercontent.com/NYTimes/Store/feature/rx2/Images/store-logo.png)
Store is an Android library for effortless, reactive data loading. Store is a Java library for effortless, reactive data loading.
### The Problems: ### The Problems:
+ Modern Android Apps need their data representations to be fluid and always available. + Modern software needs data representations to be fluid and always available.
+ Users expect their UI experience to never be compromised (blocked) by new data loads. Whether an application is social, news, or business-to-business, users expect a seamless experience both online and offline. + Users expect their UI experience to never be compromised (blocked) by new data loads. Whether an application is social, news, or business-to-business, users expect a seamless experience both online and offline.
+ International users expect minimal data downloads as many megabytes of downloaded data can quickly result in astronomical phone bills. + International users expect minimal data downloads as many megabytes of downloaded data can quickly result in astronomical phone bills.

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.nytimes.android.external.cache">
<application>
</application>
</manifest>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.nytimes.android.filesystem">
<application>
</application>
</manifest>

View file

@ -94,61 +94,6 @@ afterEvaluate { project ->
sign configurations.archives sign configurations.archives
} }
if (project.getPlugins().hasPlugin('com.android.application') ||
project.getPlugins().hasPlugin('com.android.library')) {
task install(type: Upload, dependsOn: assemble) {
repositories.mavenInstaller {
configuration = configurations.archives
pom.groupId = GROUP
pom.artifactId = POM_ARTIFACT_ID
pom.version = VERSION_NAME
pom.project {
name POM_NAME
packaging POM_PACKAGING
description POM_DESCRIPTION
url POM_URL
scm {
url POM_SCM_URL
connection POM_SCM_CONNECTION
developerConnection POM_SCM_DEV_CONNECTION
}
licenses {
license {
name POM_LICENCE_NAME
url POM_LICENCE_URL
distribution POM_LICENCE_DIST
}
}
developers {
developer {
id POM_DEVELOPER_ID
name POM_DEVELOPER_NAME
}
}
}
}
}
task androidJavadocs(type: Javadoc) {
source = android.sourceSets.main.java.source
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}
task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
classifier = 'javadoc'
from androidJavadocs.destinationDir
}
task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.source
}
} else {
install { install {
repositories.mavenInstaller { repositories.mavenInstaller {
pom.groupId = GROUP pom.groupId = GROUP
@ -199,7 +144,6 @@ afterEvaluate { project ->
classifier = 'javadoc' classifier = 'javadoc'
from "$buildDir/dokka" from "$buildDir/dokka"
} }
}
if (JavaVersion.current().isJava8Compatible()) { if (JavaVersion.current().isJava8Compatible()) {
allprojects { allprojects {
@ -210,8 +154,7 @@ afterEvaluate { project ->
} }
artifacts { artifacts {
if (project.getPlugins().hasPlugin('com.android.application') || if (project.getPlugins().hasPlugin('com.android.application')) {
project.getPlugins().hasPlugin('com.android.library')) {
archives androidSourcesJar archives androidSourcesJar
archives androidJavadocsJar archives androidJavadocsJar
} else { } else {

View file

@ -1,11 +0,0 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nytimes.android.external.store.middleware.jackson">
<application android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true"
>
</application>
</manifest>

View file

@ -1,6 +0,0 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nytimes.android.external.store.middleware.moshi">
<application />
</manifest>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.nytimes.android.external.store.middleware">
<application>
</application>
</manifest>

View file

@ -1,3 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.nytimes.android.external.store-kotlin"/>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.nytimes.android.external.store">
<application>
</application>
</manifest>