Update build for N Developer Preview
- Add new samples to build.gradle
- Update non-template dependencies
- Use Java 8 for non-template dependencies
Change-Id: I759d194f0e42d20ded9e7b182c6305021ac737f6
diff --git a/content/documentsUi/ScopedDirectoryAccess/template-params.xml b/content/documentsUi/ScopedDirectoryAccess/template-params.xml
index 066d902..5c9bedb 100644
--- a/content/documentsUi/ScopedDirectoryAccess/template-params.xml
+++ b/content/documentsUi/ScopedDirectoryAccess/template-params.xml
@@ -17,7 +17,7 @@
<sample>
<name>ScopedDirectoryAccess</name>
- <group>content</group> <!-- This field will be deprecated in the future
+ <group>Android N Preview</group> <!-- This field will be deprecated in the future
and replaced with the "categories" tags below. -->
<package>com.example.android.scopeddirectoryaccess</package>
@@ -27,9 +27,9 @@
<compileSdkVersion>"android-N"</compileSdkVersion>
<!-- Include additional dependencies here.-->
- <dependency>com.android.support:appcompat-v7:24.0.0-SNAPSHOT</dependency>
- <dependency>com.android.support:recyclerview-v7:24.0.0-SNAPSHOT</dependency>
- <dependency>com.android.support:support-v4:24.0.0-SNAPSHOT</dependency>
+ <dependency>com.android.support:appcompat-v7:24.0.0-alpha1</dependency>
+ <dependency>com.android.support:recyclerview-v7:24.0.0-alpha1</dependency>
+ <dependency>com.android.support:support-v4:24.0.0-alpha1</dependency>
<template src="base" />
@@ -44,7 +44,7 @@
</strings>
<metadata>
- <status>DRAFT</status>
+ <status>PUBLISHED</status>
<categories>Android N Preview</categories>
<technologies>Android</technologies>
<languages>Java</languages>