Skip to content

Commit

Permalink
Pin Android buildtools to 30.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kernald committed Apr 20, 2021
1 parent 5cbb2cf commit be0c944
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions examples/jetpack_compose/WORKSPACE
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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://jcenter.bintray.com/",
Expand Down Expand Up @@ -127,6 +128,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
Expand All @@ -140,9 +142,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",
],
},
)
Expand Down

0 comments on commit be0c944

Please sign in to comment.