First version of StateProvider extension

Bug: 32342385
Test: Unit tests in the CL.
Change-Id: I3534ab77ea37acda1e6ec277275dd7497a843be3
diff --git a/lifecycle/extensions/build.gradle b/lifecycle/extensions/build.gradle
index 0fc1e00..7912d8a 100644
--- a/lifecycle/extensions/build.gradle
+++ b/lifecycle/extensions/build.gradle
@@ -1,4 +1,5 @@
 apply plugin: 'com.android.library'
+apply plugin: 'maven'
 
 android {
     compileSdkVersion compile_sdk_version
@@ -26,8 +27,18 @@
 }
 dependencies {
     compile project(":runtime")
+    compile "com.android.support:support-fragment:$support_lib_version"
     testCompile "junit:junit:$junit_version"
     testCompile "org.mockito:mockito-core:$mockito_version"
 }
 
-createAndroidCheckstyle(project)
\ No newline at end of file
+createAndroidCheckstyle(project)
+
+uploadArchives {
+    repositories {
+        mavenDeployer {
+            repository(url : rootProject.ext.localMavenRepo)
+            pom.artifactId = "extensions"
+        }
+    }
+}