| Oussama Ben Abdelbaki | f825eb5 | 2018-12-04 16:17:00 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 17 | include ":jetpad-integration" |
| Jeff Gaston | d72edf2 | 2021-08-24 11:53:54 -0400 | [diff] [blame] | 18 | include ":plugins" |
| 19 | include ":private" |
| Aurimas Liutikas | 4209691 | 2021-11-04 10:08:55 -0700 | [diff] [blame] | 20 | include ":public" |
| Jeff Gaston | 0915419 | 2023-09-18 14:28:45 -0400 | [diff] [blame] | 21 | include ":imports:benchmark-gradle-plugin" |
| 22 | include ":imports:benchmark-darwin-plugin" |
| 23 | include ":imports:baseline-profile-gradle-plugin" |
| 24 | include ":imports:inspection-gradle-plugin" |
| 25 | include ":imports:compose-icons" |
| 26 | include ":imports:glance-layout-generator" |
| 27 | include ":imports:stableaidl-gradle-plugin" |
| Aurimas Liutikas | e1b8458 | 2021-04-23 14:17:30 -0700 | [diff] [blame] | 28 | |
| Aurimas Liutikas | e1b8458 | 2021-04-23 14:17:30 -0700 | [diff] [blame] | 29 | dependencyResolutionManagement { |
| 30 | versionCatalogs { |
| 31 | libs { |
| Aurimas Liutikas | e1b8458 | 2021-04-23 14:17:30 -0700 | [diff] [blame] | 32 | def agpOverride = System.getenv("GRADLE_PLUGIN_VERSION") |
| 33 | if (agpOverride != null) { |
| 34 | logger.warn("Using custom version ${agpOverride} of AGP due to GRADLE_PLUGIN_VERSION being set.") |
| 35 | version('androidGradlePlugin', agpOverride) |
| 36 | } |
| Aurimas Liutikas | 55e56d2 | 2023-10-04 12:54:09 -0700 | [diff] [blame] | 37 | def lintOverride = System.getenv("LINT_VERSION") |
| 38 | if (lintOverride != null) { |
| 39 | logger.warn("Using custom version ${lintOverride} of Lint due to LINT_VERSION being set.") |
| 40 | version('androidLint', lintOverride) |
| 41 | } |
| Aurimas Liutikas | e1b8458 | 2021-04-23 14:17:30 -0700 | [diff] [blame] | 42 | } |
| 43 | } |
| Alan Viverette | 5f0e16f | 2021-08-20 15:38:19 -0400 | [diff] [blame] | 44 | } |