This commit is contained in:
parent
48474dbf7e
commit
81158adcfe
6 changed files with 10 additions and 5 deletions
1
.bazelrc
1
.bazelrc
|
|
@ -2,6 +2,5 @@ build --java_language_version=25
|
||||||
build --java_runtime_version=25
|
build --java_runtime_version=25
|
||||||
build --tool_java_language_version=25
|
build --tool_java_language_version=25
|
||||||
build --tool_java_runtime_version=25
|
build --tool_java_runtime_version=25
|
||||||
build --define=maven_repo=https://git.lab0x13.site/api/packages/scrow/maven
|
|
||||||
build --remote_cache=https://cache.lab0x13.site:443
|
build --remote_cache=https://cache.lab0x13.site:443
|
||||||
build --remote_upload_local_results=false
|
build --remote_upload_local_results=false
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
bazel_dep(name = "rules_java", version = "9.7.0")
|
bazel_dep(name = "rules_java", version = "9.7.0")
|
||||||
bazel_dep(name = "rules_jvm_external", version = "7.1")
|
bazel_dep(name = "rules_jvm_external", version = "7.1")
|
||||||
|
|
||||||
|
VERSION = "0.36-SNAPSHOT"
|
||||||
|
|
||||||
git_override(
|
git_override(
|
||||||
module_name = "rules_jvm_external",
|
module_name = "rules_jvm_external",
|
||||||
remote = "http://forge.kentoj.de/scrow/rules_jvm_external.git",
|
remote = "http://forge.kentoj.de/scrow/rules_jvm_external.git",
|
||||||
|
|
@ -23,7 +25,6 @@ maven.install(
|
||||||
],
|
],
|
||||||
repositories = [
|
repositories = [
|
||||||
"https://repo.papermc.io/repository/maven-public/",
|
"https://repo.papermc.io/repository/maven-public/",
|
||||||
"https://git.lab0x13.site/api/packages/scrow/maven",
|
|
||||||
],
|
],
|
||||||
known_contributing_modules = ["protobuf"],
|
known_contributing_modules = ["protobuf"],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
load("@rules_jvm_external//:defs.bzl", "artifact", "java_export")
|
load("@rules_jvm_external//:defs.bzl", "artifact", "java_export")
|
||||||
|
load("//:defs.bzl", "GROUP", "VERSION")
|
||||||
|
|
||||||
java_export(
|
java_export(
|
||||||
name = "bukkit",
|
name = "bukkit",
|
||||||
maven_coordinates = "de.kentoj.scrow:kencommandapi-bukkit:0.35-SNAPSHOT",
|
maven_coordinates = GROUP + ":kencommandapi-bukkit:" + VERSION,
|
||||||
srcs = glob(["src/main/**/*.java"]),
|
srcs = glob(["src/main/**/*.java"]),
|
||||||
deps = [
|
deps = [
|
||||||
"//core",
|
"//core",
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
load("@rules_jvm_external//:defs.bzl", "artifact", "java_export")
|
load("@rules_jvm_external//:defs.bzl", "artifact", "java_export")
|
||||||
|
load("//:defs.bzl", "GROUP", "VERSION")
|
||||||
|
|
||||||
java_export(
|
java_export(
|
||||||
name = "core",
|
name = "core",
|
||||||
maven_coordinates = "de.kentoj.scrow:kencommandapi-core:0.35-SNAPSHOT",
|
maven_coordinates = GROUP + ":kencommandapi-core:" + VERSION,
|
||||||
srcs = glob(["src/main/**/*.java"]),
|
srcs = glob(["src/main/**/*.java"]),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
|
|
|
||||||
2
defs.bzl
Normal file
2
defs.bzl
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
GROUP = "de.kentoj.scrow"
|
||||||
|
VERSION = "0.36-SNAPSHOT"
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
load("@rules_jvm_external//:defs.bzl", "artifact", "java_export")
|
load("@rules_jvm_external//:defs.bzl", "artifact", "java_export")
|
||||||
|
load("//:defs.bzl", "GROUP", "VERSION")
|
||||||
|
|
||||||
java_export(
|
java_export(
|
||||||
name = "velocity",
|
name = "velocity",
|
||||||
maven_coordinates = "de.kentoj.scrow:kencommandapi-velocity:0.35-SNAPSHOT",
|
maven_coordinates = GROUP + ":kencommandapi-velocity:" + VERSION,
|
||||||
srcs = glob(["src/main/**/*.java"]),
|
srcs = glob(["src/main/**/*.java"]),
|
||||||
deps = [
|
deps = [
|
||||||
"//core",
|
"//core",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue