From c75c4cfabcf83cccb1948460f95c63d919128739 Mon Sep 17 00:00:00 2001 From: kento2 Date: Tue, 4 Aug 2026 21:07:05 +0200 Subject: [PATCH] ci/cd maybe?? --- .bazelrc | 4 +- .forgejo/workflows/publish-artifact.yml | 15 +++ .idea/jsonSchemas.xml | 25 ++++ .idea/workspace.xml | 164 +++++++++--------------- README.md | 3 +- 5 files changed, 102 insertions(+), 109 deletions(-) create mode 100644 .forgejo/workflows/publish-artifact.yml create mode 100644 .idea/jsonSchemas.xml diff --git a/.bazelrc b/.bazelrc index e5211ad..b6254e5 100644 --- a/.bazelrc +++ b/.bazelrc @@ -2,4 +2,6 @@ build --java_language_version=25 build --java_runtime_version=25 build --tool_java_language_version=25 build --tool_java_runtime_version=25 -build --define=maven_repo=https://repo.lab0x13.site/snapshots \ No newline at end of file +build --define=maven_repo=https://repo.lab0x13.site/snapshots +build --remote_cache=https://cache.lab0x13.site +build --remote_upload_local_results=false \ No newline at end of file diff --git a/.forgejo/workflows/publish-artifact.yml b/.forgejo/workflows/publish-artifact.yml new file mode 100644 index 0000000..8423916 --- /dev/null +++ b/.forgejo/workflows/publish-artifact.yml @@ -0,0 +1,15 @@ +on: + push: + branches: [master] + +jobs: + build: + runs-on: docker + container: + image: "git.lab0x13.site/scrow/bazel-java:0.5" + steps: + - uses: actions/checkout@v7 + - id: build + run: | + bazel build //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish \ + --remote_cache='https://${{ secrets.CACHE_USERNAME }}:${{ secrets.CACHE_PASSWORD }}@cache.lab0x13.site' --remote_upload_local_results \ No newline at end of file diff --git a/.idea/jsonSchemas.xml b/.idea/jsonSchemas.xml new file mode 100644 index 0000000..270275b --- /dev/null +++ b/.idea/jsonSchemas.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f841075..6fbbbcb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -40,61 +40,12 @@ - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { + "keyToString": { + "Bazel.//bukkit:bukkit.publish.executor": "Run", + "Bazel.//core:core.publish.executor": "Run", + "Bazel.//kencommandapi-velocity:velocity.publish.executor": "Run", + "Bazel.//velocity:velocity.publish.executor": "Run", + "Bazel.Run //kencommandapi-bukkit:bukkit.publish.executor": "Run", + "Bazel.Run //kencommandapi-core:core.publish.executor": "Run", + "Bazel.Run //kencommandapi-core:export.publish.executor": "Run", + "Bazel.Run //kencommandapi-velocity:velocity.publish.executor": "Run", + "Gradle./home/a/src/kento2/KenCommandAPI/kencommandapi-core [:kencommandapi-core:de.kentoj.kencommandapi.Main.main()].executor": "Run", + "Gradle./home/a/src/kento2/KenCommandAPI/kencommandapi-core [build].executor": "Run", + "Gradle./home/a/src/kento2/KenCommandAPI/kencommandapi-core [publish].executor": "Run", + "Gradle.CommandParserTest.checkArgumentExpected.executor": "Run", + "Gradle.Download Sources.executor": "Run", + "Gradle.KenCommandAPI [:de.kencommand.Main.main()].executor": "Run", + "Gradle.KenCommandAPI [assemble].executor": "Run", + "Gradle.KenCommandAPI [buildEnvironment].executor": "Run", + "Gradle.KenCommandAPI [build].executor": "Run", + "Gradle.KenCommandAPI [clean test].executor": "Run", + "Gradle.KenCommandAPI [clean].executor": "Run", + "Gradle.KenCommandAPI [javadoc].executor": "Run", + "Gradle.KenCommandAPI [publishAllPublicationsToScrowRepository].executor": "Run", + "Gradle.KenCommandAPI [publish].executor": "Run", + "Gradle.KenCommandAPI [test].executor": "Run", + "Gradle.KenCommandAPI:kencommandapi-bukkit [build].executor": "Run", + "Gradle.KenCommandAPI:kencommandapi-bukkit [generatePomFileForKenCommandAPIBukkitPublication].executor": "Run", + "Gradle.KenCommandAPI:kencommandapi-bukkit [publishAllPublicationsToScrowRepository].executor": "Run", + "Gradle.KenCommandAPI:kencommandapi-bukkit [publish].executor": "Run", + "Gradle.KenCommandAPI:kencommandapi-velocity [publish].executor": "Run", + "Gradle.kencommandapi-core [build].executor": "Run", + "ModuleVcsDetector.initialDetectionPerformed": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true", + "RunOnceActivity.git.unshallow": "true", + "RunOnceActivity.typescript.service.memoryLimit.init": "true", + "SHARE_PROJECT_CONFIGURATION_FILES": "true", + "bazel.project.detector.is.bazel.project": "true", + "codeWithMe.voiceChat.enabledByDefault": "false", + "com.intellij.ide.FileNotInSourceRootChecker.no.check": "true", + "git-widget-placeholder": "master", + "kotlin-language-version-configured": "true", + "last_opened_file_path": "/home/a/src/random/rules_jvm_external", + "node.js.detected.package.jshint": "true", + "node.js.selected.package.jshint": "", + "nodejs_package_manager_path": "npm", + "project.structure.last.edited": "Modules", + "project.structure.proportion": "0.15", + "project.structure.side.proportion": "0.6268199", + "remote.dev.show.docker.config.missing.jdk.notification": "false", + "settings.editor.selected.configurable": "preferences.pluginManager" } -}]]> +} @@ -656,6 +607,7 @@ - \ No newline at end of file diff --git a/README.md b/README.md index df507d8..c66dba4 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,9 @@ bazel build //core bazel build //velocity ``` -## Limitations & Bugs +## Limitations - argument's can't require specific permissions. -- errors are always formatted using the RootLiteral's MessageStyle ## Design