From c934895c5ae4fe194b2bfa55443ddce5daa9e102 Mon Sep 17 00:00:00 2001 From: Marc Plano-Lesay Date: Tue, 20 Apr 2021 15:08:39 +1000 Subject: [PATCH] Pin Android buildtools to 30.0.1 --- examples/jetpack_compose/WORKSPACE | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/examples/jetpack_compose/WORKSPACE b/examples/jetpack_compose/WORKSPACE index bd5911ca9..26db9772a 100644 --- a/examples/jetpack_compose/WORKSPACE +++ b/examples/jetpack_compose/WORKSPACE @@ -1,6 +1,6 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -_KOTLIN_COMPILER_VERSION = "1.4.21" +_KOTLIN_COMPILER_VERSION = "1.4.32" ## JVM External @@ -25,10 +25,11 @@ maven_install( "androidx.core:core-ktx:1.3.2", "androidx.appcompat:appcompat:1.2.0", "com.google.android.material:material:1.2.1", - "androidx.compose.material:material:1.0.0-alpha09", - "androidx.compose.ui:ui:1.0.0-alpha09", - "androidx.compose.ui:ui-tooling:1.0.0-alpha09", - "androidx.compose.compiler:compiler:1.0.0-alpha09", + "androidx.activity:activity-compose:1.3.0-alpha06", + "androidx.compose.material:material:1.0.0-beta04", + "androidx.compose.ui:ui:1.0.0-beta04", + "androidx.compose.ui:ui-tooling:1.0.0-beta04", + "androidx.compose.compiler:compiler:1.0.0-beta04", ], repositories = [ "https://maven.google.com", @@ -126,6 +127,7 @@ load("@build_bazel_rules_android//android:rules.bzl", "android_sdk_repository") android_sdk_repository( name = "androidsdk", api_level = 29, + build_tools_version = "30.0.1", ) ## Kotlin @@ -139,9 +141,9 @@ load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories", "kt_reg kotlin_repositories( compiler_release = { - "sha256": "46720991a716e90bfc0cf3f2c81b2bd735c14f4ea6a5064c488e04fd76e6b6c7", + "sha256": "dfef23bb86bd5f36166d4ec1267c8de53b3827c446d54e82322c6b6daad3594c", "urls": [ - "https://github.com/JetBrains/kotlin/releases/download/v1.4.21/kotlin-compiler-1.4.21.zip", + "https://github.com/JetBrains/kotlin/releases/download/v1.4.32/kotlin-compiler-1.4.32.zip", ], }, )