aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYigit Boyar <yboyar@google.com>2023-04-10 12:52:05 -0700
committerYigit Boyar <yboyar@google.com>2023-04-10 14:58:01 -0700
commit930be6788b026666cb047f69d17343a5df145c53 (patch)
treeb1f07f3ec97ea3efe4ea90f7130f18f3b56267e8
parent44456e0abae6c5fa12cb210b262e0662404ec813 (diff)
downloadicing-930be6788b026666cb047f69d17343a5df145c53.tar.gz
Use the new build tools version APIandroidx-window-extensions-core-release
Also removed the static import in the build file since it was resolving the new method instead of the AndroidLibrary extension methods. I think it is better than renaming the method since this build file would be subject to similar problems in the future if it keeps using static imports. Bug: 277058565 Test: CI Change-Id: Id7a41c63e521e6f1873d3042044f39e6751ab7ed
-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