blob: d45eba23d0eb65c363a858a3dbc799813173db00 [file] [log] [blame] [edit]
load("//tools/base/bazel:kotlin.bzl", "kotlin_library")
load("//tools/base/bazel:utils.bzl", "fileset")
fileset(
name = "resources",
srcs = glob([
"src/main/resources/**",
]),
mappings = {
"src/main/resources/": "",
},
)
kotlin_library(
name = "gradle-settings",
srcs = glob([
"src/main/java/**/*.kt",
"src/main/java/**/*.java",
]),
resources = [":resources"],
visibility = ["//visibility:public"],
deps = [
"//tools/base/build-system:gradle-api_neverlink",
"//tools/base/build-system/gradle-settings-api",
],
)
filegroup(
name = "agp_gradle_build_files",
srcs = glob([
"src/main/**/*.java",
"src/main/**/*.kt",
"src/main/resources/**",
]) + [
"NOTICE",
"build.gradle",
],
visibility = ["//tools/base/build-system:__pkg__"],
)