aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYigit Boyar <yboyar@google.com>2023-04-11 18:08:33 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-04-11 18:08:33 +0000
commitfcce51f7f26346967767e65ffc127453a8d44299 (patch)
tree0cc6a17f8607dba0086eb659adece2caca13d6ae
parente4b1daa25b856e6338830869a821a220ad12c8ff (diff)
parent930be6788b026666cb047f69d17343a5df145c53 (diff)
downloadicing-fcce51f7f26346967767e65ffc127453a8d44299.tar.gz
Use the new build tools version API am: 930be6788b
Original change: https://android-review.googlesource.com/c/platform/external/icing/+/2530062 Change-Id: I2706619e1c5c6e42adcaccb9820a7acbeceecc92 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--build.gradle12
1 files changed, 6 insertions, 6 deletions
diff --git a/build.gradle b/build.gradle
index 62e6e73..0082881 100644
--- a/build.gradle
+++ b/build.gradle
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import static androidx.build.SupportConfig.*
+import androidx.build.SupportConfig
buildscript {
dependencies {
@@ -28,12 +28,12 @@ plugins {
}
android {
- buildToolsVersion BUILD_TOOLS_VERSION
- compileSdkVersion COMPILE_SDK_VERSION
+ buildToolsVersion SupportConfig.buildToolsVersion(project)
+ compileSdkVersion SupportConfig.COMPILE_SDK_VERSION
defaultConfig {
- minSdkVersion DEFAULT_MIN_SDK_VERSION
- targetSdkVersion TARGET_SDK_VERSION
- testInstrumentationRunner INSTRUMENTATION_RUNNER
+ minSdkVersion SupportConfig.DEFAULT_MIN_SDK_VERSION
+ targetSdkVersion SupportConfig.TARGET_SDK_VERSION
+ testInstrumentationRunner SupportConfig.INSTRUMENTATION_RUNNER
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8