| load("//tools/base/bazel:gradle.bzl", "gradle_build") |
| load("//tools/base/bazel:maven.bzl", "maven_repository") |
| |
| #keep sorted |
| AGP_8_7_0_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_8.7.0", |
| "@maven//:com.android.databinding.adapters_8.7.0", |
| "@maven//:com.android.databinding.viewbinding_8.7.0", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_8.7.0", |
| "@maven//:com.android.tools.build.aapt2_8.7.0-12006047", |
| "@maven//:com.android.tools.build.gradle_8.7.0", |
| "@maven//:com.android.tools.lint.lint-gradle_31.7.0", |
| ] |
| |
| maven_repository( |
| name = "8.7.0", |
| artifacts = AGP_8_7_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_8_6_0_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_8.6.0", |
| "@maven//:com.android.databinding.adapters_8.6.0", |
| "@maven//:com.android.databinding.viewbinding_8.6.0", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_8.6.0", |
| "@maven//:com.android.tools.build.aapt2_8.6.0-11315950", |
| "@maven//:com.android.tools.build.gradle_8.6.0", |
| "@maven//:com.android.tools.lint.lint-gradle_31.6.0", |
| ] |
| |
| maven_repository( |
| name = "8.6.0", |
| artifacts = AGP_8_6_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_8_5_0_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_8.5.0", |
| "@maven//:com.android.databinding.adapters_8.5.0", |
| "@maven//:com.android.databinding.viewbinding_8.5.0", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_8.5.0", |
| "@maven//:com.android.tools.build.aapt2_8.5.0-11315950", |
| "@maven//:com.android.tools.build.gradle_8.5.0", |
| "@maven//:com.android.tools.lint.lint-gradle_31.5.0", |
| ] |
| |
| maven_repository( |
| name = "8.5.0", |
| artifacts = AGP_8_5_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_8_4_0_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_8.4.0", |
| "@maven//:com.android.databinding.adapters_8.4.0", |
| "@maven//:com.android.databinding.viewbinding_8.4.0", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_8.4.0", |
| "@maven//:com.android.tools.build.aapt2_8.4.0-11315950", |
| "@maven//:com.android.tools.build.gradle_8.4.0", |
| "@maven//:com.android.tools.lint.lint-gradle_31.4.0", |
| ] |
| |
| maven_repository( |
| name = "8.4.0", |
| artifacts = AGP_8_4_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_8_3_1_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_8.3.1", |
| "@maven//:com.android.databinding.adapters_8.3.1", |
| "@maven//:com.android.databinding.viewbinding_8.3.1", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_8.3.1", |
| "@maven//:com.android.tools.build.aapt2_8.3.1-10880808", |
| "@maven//:com.android.tools.build.gradle_8.3.1", |
| "@maven//:com.android.tools.lint.lint-gradle_31.3.1", |
| ] |
| |
| maven_repository( |
| name = "8.3.1", |
| artifacts = AGP_8_3_1_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| AGP_8_2_2_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_8.2.2", |
| "@maven//:com.android.databinding.viewbinding_8.2.2", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_8.2.2", |
| "@maven//:com.android.tools.build.aapt2_8.2.2-10154469", |
| "@maven//:com.android.tools.build.gradle_8.2.2", |
| "@maven//:com.android.tools.lint.lint-gradle_31.2.2", |
| "@maven//:com.android.databinding.adapters_8.2.2", |
| ] |
| |
| maven_repository( |
| name = "8.2.2", |
| artifacts = AGP_8_2_2_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| AGP_8_2_0_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_8.2.0", |
| "@maven//:com.android.databinding.viewbinding_8.2.0", |
| "@maven//:com.android.databinding.adapters_8.2.0", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_8.2.0", |
| "@maven//:com.android.tools.build.aapt2_8.2.0-10154469", |
| "@maven//:com.android.tools.build.gradle_8.2.0", |
| "@maven//:com.android.tools.lint.lint-gradle_31.2.0", |
| ] |
| |
| maven_repository( |
| name = "8.2.0", |
| artifacts = AGP_8_2_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_8_1_0_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_8.1.0", |
| "@maven//:com.android.databinding.adapters_8.1.0", |
| "@maven//:com.android.databinding.viewbinding_8.1.0", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_8.1.0", |
| "@maven//:com.android.tools.build.aapt2_8.1.0-10154469", |
| "@maven//:com.android.tools.build.gradle_8.1.0", |
| "@maven//:com.android.tools.lint.lint-gradle_31.1.0", |
| ] |
| |
| maven_repository( |
| name = "8.1.0", |
| artifacts = AGP_8_1_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_8_0_2_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_8.0.2", |
| "@maven//:com.android.databinding.adapters_8.0.2", |
| "@maven//:com.android.databinding.viewbinding_8.0.2", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_8.0.2", |
| "@maven//:com.android.tools.build.aapt2_8.0.2-9289358", |
| "@maven//:com.android.tools.build.gradle_8.0.2", |
| "@maven//:com.android.tools.lint.lint-gradle_31.0.2", |
| ] |
| |
| maven_repository( |
| name = "8.0.2", |
| artifacts = AGP_8_0_2_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_7_4_1_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_7.4.1", |
| "@maven//:com.android.databinding.adapters_7.4.1", |
| "@maven//:com.android.databinding.viewbinding_7.4.1", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_7.4.1", |
| "@maven//:com.android.tools.build.aapt2_7.4.1-8841542", |
| "@maven//:com.android.tools.build.gradle_7.4.1", |
| "@maven//:com.android.tools.lint.lint-gradle_30.4.1", |
| ] |
| |
| maven_repository( |
| name = "7.4.1", |
| artifacts = AGP_7_4_1_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_7_3_0_ARTIFACTS = [ |
| "@maven//:com.android.databinding.adapters_7.3.0", |
| "@maven//:com.android.databinding.viewbinding_7.3.0", |
| "@maven//:com.android.tools.build.aapt2_7.3.0-8691043", |
| "@maven//:com.android.tools.build.gradle_7.3.0", |
| "@maven//:com.android.tools.lint.lint-gradle_30.3.0", |
| ] |
| |
| maven_repository( |
| name = "7.3.0", |
| artifacts = AGP_7_3_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_7_2_0_ARTIFACTS = [ |
| "@maven//:com.android.application.com.android.application.gradle.plugin_7.2.0", |
| "@maven//:com.android.databinding.adapters_7.2.0", |
| "@maven//:com.android.databinding.viewbinding_7.2.0", |
| "@maven//:com.android.library.com.android.library.gradle.plugin_7.2.0", |
| "@maven//:com.android.tools.build.aapt2_7.2.0-7984345", |
| "@maven//:com.android.tools.build.gradle_7.2.0", |
| "@maven//:com.android.tools.lint.lint-gradle_30.2.0", |
| ] |
| |
| maven_repository( |
| name = "7.2.0", |
| artifacts = AGP_7_2_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_7_1_0_ARTIFACTS = [ |
| "@maven//:com.android.databinding.adapters_7.1.0", |
| "@maven//:com.android.databinding.viewbinding_7.1.0", |
| "@maven//:com.android.tools.build.aapt2_7.1.0-7984345", |
| "@maven//:com.android.tools.build.gradle_7.1.0", |
| "@maven//:com.android.tools.lint.lint-gradle_30.1.0", |
| ] |
| |
| maven_repository( |
| name = "7.1.0", |
| artifacts = AGP_7_1_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| #keep sorted |
| AGP_7_0_0_ARTIFACTS = [ |
| "@maven//:com.android.databinding.adapters_7.0.0", |
| "@maven//:com.android.databinding.viewbinding_7.0.0", |
| "@maven//:com.android.tools.build.aapt2_7.0.0-7396180", |
| "@maven//:com.android.tools.build.gradle_7.0.0", |
| "@maven//:com.android.tools.lint.lint-gradle_30.0.0", |
| ] |
| |
| maven_repository( |
| name = "7.0.0", |
| artifacts = AGP_7_0_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| AGP_4_2_0_ARTIFACTS = [ |
| "@maven//:com.android.databinding.adapters_4.2.0", |
| "@maven//:com.android.databinding.viewbinding_4.2.0", |
| "@maven//:com.android.tools.build.gradle_4.2.0", |
| "@maven//:com.android.tools.build.aapt2_4.2.0-7147631", |
| "@maven//:com.android.tools.lint.lint-gradle_27.2.0", |
| ] |
| |
| maven_repository( |
| name = "4.2.0", |
| artifacts = AGP_4_2_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| AGP_4_1_0_ARTIFACTS = [ |
| "@maven//:com.android.databinding.adapters_4.1.0", |
| "@maven//:com.android.databinding.viewbinding_4.1.0", |
| "@maven//:com.android.tools.build.gradle_4.1.0", |
| "@maven//:com.android.tools.build.aapt2_4.1.0-6503028", |
| "@maven//:com.android.tools.lint.lint-gradle_27.1.0", |
| ] |
| |
| maven_repository( |
| name = "4.1.0", |
| artifacts = AGP_4_1_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| AGP_4_0_0_ARTIFACTS = [ |
| "@maven//:com.android.databinding.adapters_4.0.0", |
| "@maven//:com.android.databinding.viewbinding_4.0.0", |
| "@maven//:com.android.tools.build.gradle_4.0.0", |
| "@maven//:com.android.tools.build.aapt2_4.0.0-6051327", |
| "@maven//:com.android.tools.lint.lint-gradle_27.0.0", |
| ] |
| |
| maven_repository( |
| name = "4.0.0", |
| artifacts = AGP_4_0_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| KOTLIN_GRADLE_PLUGIN_1_3_72_ARTIFACTS = [ |
| "@maven//:org.jetbrains.kotlin.kotlin-gradle-plugin_1.3.72", |
| "@maven//:org.jetbrains.kotlin.kotlin-android-extensions-runtime_1.3.72", |
| ] |
| |
| maven_repository( |
| name = "kgp1.3.72", |
| artifacts = KOTLIN_GRADLE_PLUGIN_1_3_72_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| # keep sorted |
| AGP_3_5_0_ARTIFACTS = [ |
| "@maven//:com.android.tools.build.aapt2_3.5.0-5435860", |
| "@maven//:com.android.tools.build.gradle_3.5.0", |
| "@maven//:com.android.tools.lint.lint-gradle_26.5.0", |
| ] |
| |
| # keep sorted |
| KOTLIN_GRADLE_PLUGIN_1_3_41_ARTIFACTS = [ |
| "@maven//:org.jetbrains.kotlin.kotlin-android-extensions-runtime_1.3.41", |
| "@maven//:org.jetbrains.kotlin.kotlin-gradle-plugin_1.3.41", |
| ] |
| |
| maven_repository( |
| name = "3.5.0", |
| artifacts = AGP_3_5_0_ARTIFACTS, |
| visibility = ["//visibility:public"], |
| ) |
| |
| maven_repository( |
| name = "performance_test_repo_3.5.0", |
| testonly = True, |
| artifacts = AGP_3_5_0_ARTIFACTS + KOTLIN_GRADLE_PLUGIN_1_3_41_ARTIFACTS, |
| visibility = ["//prebuilts/studio/buildbenchmarks:__subpackages__"], |
| ) |
| |
| gradle_build( |
| name = "3.5.0_check", |
| build_file = "tests/3.5.0/build.gradle", |
| data = [ |
| "tests/3.5.0/src/main/AndroidManifest.xml", |
| "//prebuilts/studio/sdk:build-tools/latest", |
| "//prebuilts/studio/sdk:platform-tools", |
| "//prebuilts/studio/sdk:platforms/android-34", |
| ], |
| gradle_version = "6.5", # AGP 3.5 is not supported by Gradle 7.0+ |
| java_version = 11, |
| output_file = "3.5.0.aar", |
| output_file_source = "outputs/aar/3.5.0-release.aar", |
| repos = [ |
| ":3.5.0", |
| ], |
| target_compatible_with = ["@platforms//os:linux"], |
| tasks = ["assembleRelease"], |
| ) |
| |
| maven_repository( |
| name = "3.3.2", |
| # keep sorted |
| artifacts = [ |
| "@maven//:com.android.tools.build.aapt2_3.3.2-5309881", |
| "@maven//:com.android.tools.build.gradle_3.3.2", |
| "@maven//:com.android.tools.lint.lint-gradle_26.3.2", |
| ], |
| visibility = ["//visibility:public"], |
| ) |
| |
| gradle_build( |
| name = "3.3.2_check", |
| build_file = "tests/3.3.2/build.gradle", |
| data = [ |
| "tests/3.3.2/src/main/AndroidManifest.xml", |
| "//prebuilts/studio/sdk:build-tools/latest", |
| "//prebuilts/studio/sdk:platform-tools", |
| "//prebuilts/studio/sdk:platforms/android-34", |
| ], |
| gradle_version = "5.5", |
| java_version = 11, |
| output_file = "3.3.2.aar", |
| output_file_source = "outputs/aar/3.3.2.aar", |
| repos = [ |
| ":3.3.2", |
| ], |
| target_compatible_with = ["@platforms//os:linux"], |
| tasks = ["assembleRelease"], |
| ) |
| |
| AGP_3_1_4_ARTIFACTS = ["@maven//:com.android.tools.build.gradle_3.1.4"] |
| |
| maven_repository( |
| name = "3.1.4", |
| artifacts = AGP_3_1_4_ARTIFACTS, |
| visibility = ["//tools/adt/idea/old-agp-tests:__pkg__"], |
| ) |
| |
| maven_repository( |
| name = "3.0.0", |
| # keep sorted |
| artifacts = [ |
| "@maven//:com.android.tools.build.gradle_3.0.0", |
| ], |
| visibility = ["//visibility:public"], |
| ) |
| |
| gradle_build( |
| name = "3.0.0_check", |
| build_file = "tests/3.0.0/build.gradle", |
| gradle_version = "5.5", |
| java_version = 11, |
| output_file = "3.0.0_dependencies_list.txt", |
| output_file_source = "dependencies_list.txt", |
| repos = [ |
| ":3.0.0", |
| ], |
| target_compatible_with = ["@platforms//os:linux"], |
| tasks = ["listDependencies"], |
| ) |