More build setup for flatfoot projects.
Bug: 64974262
Test: ./gradlew runBuildServerCompilationTasks
Change-Id: I9d3468603391b573501c1de5e797617bbb91319a
diff --git a/paging/common/build.gradle b/paging/common/build.gradle
index fe778af..8d8e20e 100644
--- a/paging/common/build.gradle
+++ b/paging/common/build.gradle
@@ -14,13 +14,13 @@
* limitations under the License.
*/
-apply plugin: 'java'
-apply plugin: 'maven'
+import android.support.SupportLibraryExtension;
-sourceCompatibility = 1.7
+apply plugin: android.support.SupportJavaLibraryPlugin
+
// disable paging for now.
project.ext.noDocs = true
-uploadArchives.enabled = false
+
dependencies {
compile libs.support.annotations
compile project(":arch:common")
@@ -33,3 +33,11 @@
}
createAndroidCheckstyle(project)
+
+supportLibrary {
+ name 'Android Paging-Common'
+ publish false
+ inceptionYear '2017'
+ description "Android Paging-Common"
+ url SupportLibraryExtension.ARCHITECTURE_URL
+}
\ No newline at end of file