| Index: build/android/gradle/android.jinja
 | 
| diff --git a/build/android/gradle/build.gradle.jinja b/build/android/gradle/android.jinja
 | 
| similarity index 63%
 | 
| rename from build/android/gradle/build.gradle.jinja
 | 
| rename to build/android/gradle/android.jinja
 | 
| index 1475cea39ee026926fff0915aec2d8ceca608493..5dba39daeb0ecedfdc55bd1e9306ff3e1c2428ec 100644
 | 
| --- a/build/android/gradle/build.gradle.jinja
 | 
| +++ b/build/android/gradle/android.jinja
 | 
| @@ -2,46 +2,6 @@
 | 
|  {# Use of this source code is governed by a BSD-style license that can be #}
 | 
|  {# found in the LICENSE file. #}
 | 
|  // Generated by //build/android/generate_gradle.py
 | 
| -{% if template_type == 'root' %}
 | 
| -
 | 
| -buildscript {
 | 
| -    repositories {
 | 
| -        jcenter()
 | 
| -    }
 | 
| -    dependencies {
 | 
| -        classpath "com.android.tools.build:gradle:2.2.3"
 | 
| -    }
 | 
| -}
 | 
| -
 | 
| -{% elif template_type in ('java_library', 'java_binary') %}
 | 
| -
 | 
| -apply plugin: "java"
 | 
| -{% if template_type == 'java_binary' %}
 | 
| -apply plugin: "application"
 | 
| -{% endif %}
 | 
| -
 | 
| -sourceSets {
 | 
| -    main {
 | 
| -        java.srcDirs = [
 | 
| -{% for path in java_dirs %}
 | 
| -            "{{ path }}",
 | 
| -{% endfor %}
 | 
| -        ]
 | 
| -    }
 | 
| -}
 | 
| -
 | 
| -sourceCompatibility = JavaVersion.VERSION_1_7
 | 
| -targetCompatibility = JavaVersion.VERSION_1_7
 | 
| -
 | 
| -{% if template_type == 'java_binary' %}
 | 
| -mainClassName = "{{ main_class }}"
 | 
| -applicationName = "{{ target_name }}"
 | 
| -{% endif %}
 | 
| -{% if template_type in ('java_binary', 'java_library') %}
 | 
| -archivesBaseName = "{{ target_name }}"
 | 
| -{% endif %}
 | 
| -
 | 
| -{% else %}
 | 
|  
 | 
|  {% if template_type in ('android_library', 'android_junit') %}
 | 
|  apply plugin: "com.android.library"
 | 
| @@ -89,22 +49,8 @@ android {
 | 
|      }
 | 
|  }
 | 
|  
 | 
| -{% endif %}
 | 
| -{% if template_type != 'root' %}
 | 
| +{% include 'dependencies.jinja' %}
 | 
|  
 | 
| -dependencies {
 | 
| -{% for path in prebuilts %}
 | 
| -    {{ depCompileName }} files("{{ path }}")
 | 
| -{% endfor %}
 | 
| -{% for proj in java_project_deps %}
 | 
| -    {{ depCompileName }} project(":{{ proj }}")
 | 
| -{% endfor %}
 | 
| -{% for proj in android_project_deps %}
 | 
| -    {{ depCompileName }} project(path: ":{{ proj }}", configuration: "debug")
 | 
| -{% endfor %}
 | 
| -}
 | 
| -
 | 
| -{% if template_type.startswith('android') %}
 | 
|  android.variantFilter { variant ->
 | 
|      if (variant.buildType.name.equals('release')) {
 | 
|          variant.setIgnore(true);
 | 
| @@ -129,6 +75,3 @@ afterEvaluate {
 | 
|        task.enabled = false
 | 
|      }
 | 
|  }
 | 
| -
 | 
| -{% endif %}
 | 
| -{% endif %}
 | 
| 
 |