File tree 12 files changed +173
-0
lines changed
12 files changed +173
-0
lines changed Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
+
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16
+
17
+ bzl_library(
18
+ name = "kotlin",
19
+ srcs = glob(
20
+ ["*.bzl"],
21
+ exclude = [
22
+ "android.bzl",
23
+ "kotlin.bzl",
24
+ ],
25
+ ),
26
+ visibility = ["//visibility:public"],
27
+ deps = [
28
+ "//kotlin/internal",
29
+ ],
30
+ )
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
+
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
14
16
load(":compiler.bzl", "kt_configure_compiler")
15
17
load(":ksp.bzl", "kt_configure_ksp")
16
18
@@ -21,3 +23,11 @@ kt_configure_compiler()
21
23
22
24
# Configures the KSP plugins
23
25
kt_configure_ksp()
26
+
27
+ bzl_library(
28
+ name = "compiler",
29
+ srcs = glob(["*.bzl"]),
30
+ deps = [
31
+ "@rules_proto//proto:repositories",
32
+ ],
33
+ )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
15
16
load("//kotlin/internal:toolchains.bzl", "kt_configure_toolchains")
16
17
17
18
kt_configure_toolchains()
19
+
20
+ bzl_library(
21
+ name = "internal",
22
+ srcs = glob(["*.bzl"]),
23
+ visibility = ["//visibility:public"],
24
+ deps = [
25
+ "//kotlin/internal/js",
26
+ "//kotlin/internal/jvm",
27
+ "//kotlin/internal/lint",
28
+ "//kotlin/internal/utils",
29
+ "//src/main/starlark",
30
+ ],
31
+ )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
15
16
load("@rules_python//python:defs.bzl", "py_binary")
16
17
17
18
py_binary(
18
19
name = "importer",
19
20
srcs = ["importer.py"],
20
21
visibility = ["//visibility:public"],
21
22
)
23
+
24
+ bzl_library(
25
+ name = "js",
26
+ srcs = glob(["*.bzl"]),
27
+ visibility = ["//visibility:public"],
28
+ )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16
+
15
17
exports_files(["jetbrains-deshade.jarjar"])
18
+
19
+ bzl_library(
20
+ name = "jvm",
21
+ srcs = glob(
22
+ ["*.bzl"],
23
+ exclude = ["android.bzl"],
24
+ ),
25
+ visibility = ["//visibility:public"],
26
+ deps = [
27
+ "//third_party:bzl",
28
+ "@bazel_skylib//rules:common_settings",
29
+ ],
30
+ )
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
+
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16
+
17
+ bzl_library(
18
+ name = "lint",
19
+ srcs = glob(["*.bzl"]),
20
+ visibility = ["//visibility:public"],
21
+ )
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
+
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16
+
17
+ bzl_library(
18
+ name = "utils",
19
+ srcs = glob(["*.bzl"]),
20
+ visibility = ["//visibility:public"],
21
+ )
Original file line number Diff line number Diff line change
1
+ # Copyright 2020 The Bazel Authors. All rights reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16
+
17
+ bzl_library(
18
+ name = "starlark",
19
+ srcs = glob(["*.bzl"]),
20
+ visibility = ["//visibility:public"],
21
+ deps = [
22
+ "//src/main/starlark/core",
23
+ ],
24
+ )
Original file line number Diff line number Diff line change
1
+ # Copyright 2020 The Bazel Authors. All rights reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16
+
17
+ bzl_library(
18
+ name = "core",
19
+ srcs = glob(["*.bzl"]),
20
+ visibility = ["//visibility:public"],
21
+ deps = [
22
+ "//src/main/starlark/core/options",
23
+ "//src/main/starlark/core/repositories",
24
+ ],
25
+ )
Original file line number Diff line number Diff line change
1
+ # Copyright 2020 The Bazel Authors. All rights reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16
+
17
+ bzl_library(
18
+ name = "options",
19
+ srcs = glob(["*.bzl"]),
20
+ visibility = ["//visibility:public"],
21
+ deps = [
22
+ "@com_github_jetbrains_kotlin//:capabilities.bzl",
23
+ ],
24
+ )
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
+
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16
+
17
+ bzl_library(
18
+ name = "repositories",
19
+ srcs = glob(["*.bzl"]),
20
+ visibility = ["//visibility:public"],
21
+ deps = [
22
+ "@rules_proto//proto:repositories",
23
+ ],
24
+ )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
15
16
load("@rules_java//java:defs.bzl", "java_binary", "java_import")
16
17
17
18
exports_files([
@@ -32,3 +33,12 @@ java_import(
32
33
neverlink = True,
33
34
visibility = ["//visibility:public"],
34
35
)
36
+
37
+ bzl_library(
38
+ name = "bzl",
39
+ srcs = [
40
+ "jarjar.bzl",
41
+ "@bazel_tools//tools:bzl_srcs",
42
+ ],
43
+ visibility = ["//visibility:public"],
44
+ )
You can’t perform that action at this time.
0 commit comments