Skip to content

Commit

Permalink
More renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Sep 15, 2023
1 parent 8284083 commit 6f9aeae
Show file tree
Hide file tree
Showing 52 changed files with 94 additions and 94 deletions.
4 changes: 2 additions & 2 deletions examples/android/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
local_path = "../..",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")

kotlin_repositories()

Expand Down
4 changes: 2 additions & 2 deletions examples/android/bzl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "define_kt_toolchain", "kt_kotlinc_options")
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_javac_options")
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain", "kt_kotlinc_options")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_javac_options")

kt_kotlinc_options(
name = "default_kotlinc_options",
Expand Down
2 changes: 1 addition & 1 deletion examples/android/libAndroid/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@build_bazel_rules_android//android:rules.bzl", "android_library")
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

android_library(
name = "my_android",
Expand Down
6 changes: 3 additions & 3 deletions examples/android/libKtAndroid/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "kt_compiler_plugin", "kt_ksp_plugin")
load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")
load("@rules_kotlin//kotlin:core.bzl", "kt_compiler_plugin", "kt_ksp_plugin")
load("@rules_kotlin//kotlin:android.bzl", "kt_android_library")
load("@rules_java//java:defs.bzl", "java_plugin")

kt_compiler_plugin(
Expand All @@ -8,7 +8,7 @@ kt_compiler_plugin(
id = "org.jetbrains.kotlin.serialization",
stubs_phase = True,
deps = [
"@io_bazel_rules_kotlin//kotlin/compiler:kotlinx-serialization-compiler-plugin",
"@rules_kotlin//kotlin/compiler:kotlinx-serialization-compiler-plugin",
],
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_local_test")
load("@rules_kotlin//kotlin:android.bzl", "kt_android_local_test")

kt_android_local_test(
name = "SomeTest",
Expand Down
2 changes: 1 addition & 1 deletion examples/anvil/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "define_kt_toolchain")
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain")

define_kt_toolchain(
name = "kotlin_toolchain",
Expand Down
4 changes: 2 additions & 2 deletions examples/anvil/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")

kotlin_repositories()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")
load("@rules_kotlin//kotlin:android.bzl", "kt_android_library")

kt_android_library(
name = "sample",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_test")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_test")

kt_jvm_test(
name = "LoggedInComponentTest",
Expand Down
2 changes: 1 addition & 1 deletion examples/anvil/library/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "library",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "god",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "lib",
Expand Down
2 changes: 1 addition & 1 deletion examples/anvil/scopes/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "scopes",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "scopes",
Expand Down
4 changes: 2 additions & 2 deletions examples/anvil/third_party/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load("@rules_java//java:defs.bzl", "java_library", "java_plugin")
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "kt_compiler_plugin")
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:core.bzl", "kt_compiler_plugin")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

java_plugin(
name = "dagger_component_plugin",
Expand Down
6 changes: 3 additions & 3 deletions examples/associates/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")

kotlin_repositories()

load("@io_bazel_rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")
load("@rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")

kt_register_toolchains()

Expand Down
2 changes: 1 addition & 1 deletion examples/associates/projects/core/api/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library")

package(default_visibility = ["//visibility:public"])

Expand Down
2 changes: 1 addition & 1 deletion examples/associates/projects/core/impl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library")

kt_jvm_library(
name = "impl",
Expand Down
4 changes: 2 additions & 2 deletions examples/dagger/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
load("@rules_java//java:defs.bzl", "java_binary")
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "define_kt_toolchain")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain")

package(default_visibility = ["//visibility:private"])

Expand Down
4 changes: 2 additions & 2 deletions examples/dagger/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")

kotlin_repositories()

Expand Down
4 changes: 2 additions & 2 deletions examples/deps/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
local_path = "../..",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")

kotlin_repositories()

Expand Down
4 changes: 2 additions & 2 deletions examples/deps/bzl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "define_kt_toolchain", "kt_kotlinc_options")
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_javac_options")
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain", "kt_kotlinc_options")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_javac_options")

kt_kotlinc_options(
name = "default_kotlinc_options",
Expand Down
2 changes: 1 addition & 1 deletion examples/deps/libKt1/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "src_main",
Expand Down
2 changes: 1 addition & 1 deletion examples/deps/libKt2/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "src_main",
Expand Down
2 changes: 1 addition & 1 deletion examples/deps/libKt3/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "src_main",
Expand Down
2 changes: 1 addition & 1 deletion examples/deps/libKt4/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "src_main",
Expand Down
2 changes: 1 addition & 1 deletion examples/deps/libKtAndroid1/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")
load("@rules_kotlin//kotlin:android.bzl", "kt_android_library")

kt_android_library(
name = "src_main",
Expand Down
2 changes: 1 addition & 1 deletion examples/deps/libKtAndroid2/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")
load("@rules_kotlin//kotlin:android.bzl", "kt_android_library")

kt_android_library(
name = "src_main",
Expand Down
2 changes: 1 addition & 1 deletion examples/deps/libKtAndroid3/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")
load("@rules_kotlin//kotlin:android.bzl", "kt_android_library")

kt_android_library(
name = "src_main",
Expand Down
2 changes: 1 addition & 1 deletion examples/deps/libKtAndroid4/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")
load("@rules_kotlin//kotlin:android.bzl", "kt_android_library")

kt_android_library(
name = "src_main",
Expand Down
2 changes: 1 addition & 1 deletion examples/jetpack_compose/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "define_kt_toolchain", "kt_compiler_plugin")
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain", "kt_compiler_plugin")
load("@bazel_tools//tools/jdk:default_java_toolchain.bzl", "default_java_toolchain")

# Java Toolchain
Expand Down
4 changes: 2 additions & 2 deletions examples/jetpack_compose/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "kotlinc_version", "versions")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "kotlinc_version", "versions")

kotlin_repositories(
compiler_release = kotlinc_version(
Expand Down
2 changes: 1 addition & 1 deletion examples/jetpack_compose/compose-ui/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:android.bzl", "kt_android_library")
load("@rules_kotlin//kotlin:android.bzl", "kt_android_library")

kt_android_library(
name = "lib",
Expand Down
4 changes: 2 additions & 2 deletions examples/ksp/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "define_kt_toolchain", "kt_ksp_plugin")
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain", "kt_ksp_plugin")
load("@bazel_skylib//rules:build_test.bzl", "build_test")
load("@rules_java//java:defs.bzl", "java_binary", "java_plugin")
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

package(default_visibility = ["//visibility:public"])

Expand Down
4 changes: 2 additions & 2 deletions examples/ksp/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")

kotlin_repositories()

Expand Down
6 changes: 3 additions & 3 deletions examples/multiplex/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories")

kotlin_repositories()

load("@io_bazel_rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")
load("@rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")

kt_register_toolchains()
2 changes: 1 addition & 1 deletion examples/multiplex/src/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")

kt_jvm_library(
name = "big",
Expand Down
2 changes: 1 addition & 1 deletion examples/node/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("@io_bazel_rules_kotlin//kotlin:js.bzl", "kt_js_import")
load("@rules_kotlin//kotlin:js.bzl", "kt_js_import")

# Create kt_js_imports for KotlinX's Coroutines and Atomicfu libraries.
#
Expand Down
6 changes: 3 additions & 3 deletions examples/node/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")

kotlin_repositories()

load("@io_bazel_rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")
load("@rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")

kt_register_toolchains()

Expand Down
2 changes: 1 addition & 1 deletion examples/node/coroutines-helloworld/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("@io_bazel_rules_kotlin//kotlin:js.bzl", "kt_js_library")
load("@rules_kotlin//kotlin:js.bzl", "kt_js_library")
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")

kt_js_library(
Expand Down
2 changes: 1 addition & 1 deletion examples/node/express/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("@io_bazel_rules_kotlin//kotlin:js.bzl", "kt_js_library")
load("@rules_kotlin//kotlin:js.bzl", "kt_js_library")
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")

# routes and auth have acme prepended to the rule name as these are the names of the resulting jars. The name of the
Expand Down
2 changes: 1 addition & 1 deletion examples/node/express/auth/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("@io_bazel_rules_kotlin//kotlin:js.bzl", "kt_js_library")
load("@rules_kotlin//kotlin:js.bzl", "kt_js_library")

kt_js_library(
name = "acme-auth",
Expand Down
6 changes: 3 additions & 3 deletions examples/plugin/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ local_repository(
load("@release_archive//:repository.bzl", "archive_repository")

archive_repository(
name = "io_bazel_rules_kotlin",
name = "rules_kotlin",
)

load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")
load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories", "versions")

kotlin_repositories()

load("@io_bazel_rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")
load("@rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")

kt_register_toolchains()

Expand Down
Loading

0 comments on commit 6f9aeae

Please sign in to comment.