一键导入
bump-java-version
Bump the Java runtime version, and validate the build workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bump the Java runtime version, and validate the build workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a collection field to an existing backend entity and update dependent artifacts; use for prompts like "Add collection ... to entity ...".
Create a new backend domain entity and all required artifacts; use for prompts like "Create an entity ... in package ...".
Add a many-to-one relation between existing entities and update dependent artifacts; use for prompts like "Add a required many-to-one relation ...".
Add a one-to-many relation between existing entities and update dependent artifacts; use for prompts like "Add a one-to-many relation ...".
Add a one-to-one relation between existing entities and update dependent artifacts; use for prompts like "Add a required one-to-one relation ...".
Add or remove a property on an existing backend entity and update dependent artifacts; use for prompts like "Add property ... to entity ...".
| name | bump-java-version |
| description | Bump the Java runtime version, and validate the build workflow. |
You MUST NOT generate code if even one of the preconditions is not met.
Extract the version from the request.
Check if version has major number only, e.g. 25.
Replace placeholder {version} with version.
If the local Java runtime major version is not greater than or equal to {version} then
Your local Java runtime is too old for source level {version}.Use this skill to bump Java {version} based on doc/manual/setup-java.adoc.
build.gradlejava.sourceCompatibility = JavaVersion.VERSION_{version}java.targetCompatibility = JavaVersion.VERSION_{version}app/server/build.gradlebootBuildImage set BP_JVM_VERSION to {version}.*"jibDockerBuild set the base image to eclipse-temurin:{version}-jdk-alpine@sha256:.....github/workflows/build.ymlsetup-java set java-version: "{version}".devcontainer/devcontainer.jsonghcr.io/devcontainers/features/java:1 set "version": "{version}"gradle build --parallel
Run from repository root. This step must not fail.