OLD | NEW |
1 {# Copyright 2016 The Chromium Authors. All rights reserved. #} | 1 {# Copyright 2016 The Chromium Authors. All rights reserved. #} |
2 {# Use of this source code is governed by a BSD-style license that can be #} | 2 {# Use of this source code is governed by a BSD-style license that can be #} |
3 {# found in the LICENSE file. #} | 3 {# found in the LICENSE file. #} |
4 // Generated by //build/android/generate_gradle.py | 4 // Generated by //build/android/generate_gradle.py |
5 {% if template_type == 'root' %} | 5 {% if template_type == 'root' %} |
6 | 6 |
7 buildscript { | 7 buildscript { |
8 repositories { | 8 repositories { |
9 jcenter() | 9 jcenter() |
10 } | 10 } |
11 dependencies { | 11 dependencies { |
12 classpath "com.android.tools.build:gradle:2.2.0" | 12 classpath "com.android.tools.build:gradle:2.2.1" |
13 } | 13 } |
14 } | 14 } |
15 | 15 |
16 {% elif template_type in ('java_library', 'java_binary') %} | 16 {% elif template_type in ('java_library', 'java_binary') %} |
17 | 17 |
18 apply plugin: "java" | 18 apply plugin: "java" |
19 {% if template_type == 'java_binary' %} | 19 {% if template_type == 'java_binary' %} |
20 apply plugin: "application" | 20 apply plugin: "application" |
21 {% endif %} | 21 {% endif %} |
22 | 22 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 || it.name.endsWith('Renderscript') | 124 || it.name.endsWith('Renderscript') |
125 || it.name.endsWith('Shaders')) | 125 || it.name.endsWith('Shaders')) |
126 } | 126 } |
127 tasksToDisable.each { Task task -> | 127 tasksToDisable.each { Task task -> |
128 task.enabled = false | 128 task.enabled = false |
129 } | 129 } |
130 } | 130 } |
131 | 131 |
132 {% endif %} | 132 {% endif %} |
133 {% endif %} | 133 {% endif %} |
OLD | NEW |