|
| 1 | +module( |
| 2 | + name = "calque", |
| 3 | + version = "0.0.1", |
| 4 | +) |
| 5 | + |
| 6 | +bazel_dep(name = "rules_jvm_external", version = "7.2") |
| 7 | +bazel_dep(name = "rules_kotlin", version = "2.4.20") |
| 8 | +bazel_dep(name = "rules_java", version = "9.9.0") |
| 9 | +bazel_dep(name = "aspect_rules_lint", version = "2.9.1") |
| 10 | + |
| 11 | +bazel_dep(name = "buildifier_prebuilt", version = "10.1.0", dev_dependency = True) |
| 12 | + |
| 13 | +# Maven dependencies |
| 14 | +maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") |
| 15 | +maven.install( |
| 16 | + artifacts = [ |
| 17 | + "junit:junit:4.13.2", |
| 18 | + "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.11.0", |
| 19 | + "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.11.0", |
| 20 | + "org.jetbrains.kotlinx:kotlinx-serialization-json:1.11.0", |
| 21 | + "org.xerial:sqlite-jdbc:3.53.4.0", |
| 22 | + ], |
| 23 | + known_contributing_modules = ["protobuf"], |
| 24 | + repositories = [ |
| 25 | + "https://repo1.maven.org/maven2", |
| 26 | + ], |
| 27 | +) |
| 28 | +use_repo(maven, "maven") |
| 29 | + |
| 30 | +# Lint & Format tools |
| 31 | +format_tools = use_extension("@aspect_rules_lint//format:extensions.bzl", "tools") |
| 32 | +format_tools.ktfmt() |
| 33 | +use_repo(format_tools, "ktfmt") |
| 34 | + |
| 35 | +lint_tools = use_extension("@aspect_rules_lint//lint:extensions.bzl", "tools") |
| 36 | +lint_tools.ktlint() |
| 37 | +use_repo(lint_tools, "com_github_pinterest_ktlint") |
0 commit comments