diff --git a/.clinerules/coding.md b/.clinerules/coding.md index 683f7b34e1..a4b5bac616 100644 --- a/.clinerules/coding.md +++ b/.clinerules/coding.md @@ -41,7 +41,7 @@ The root project MUST NOT contain any code: it is a parent project which coordin You SHOULD prefer modern Java idioms: records, pattern matching, sealed interfaces/classes, `var` for local variables. You MUST NOT use fully qualified class names unless there is a conflict between 2 class names in different packages. -You MUST annotate the code with nullability annotations (`io.micronaut.core.annotation.Nullable`, `io.micronaut.core.annotation.NonNull`). +You MUST annotate the code with nullability annotations (`org.jspecify.annotations.Nullable`, `org.jspecify.annotations.NonNull`). You MUST NOT use reflection: Micronaut is a reflection-free framework tailored for integration with GraalVM. You MUST use `jakarta.inject` for dependency injection, NOT `javax.inject`. diff --git a/.github/instructions/coding.instructions.md b/.github/instructions/coding.instructions.md index 683f7b34e1..a4b5bac616 100644 --- a/.github/instructions/coding.instructions.md +++ b/.github/instructions/coding.instructions.md @@ -41,7 +41,7 @@ The root project MUST NOT contain any code: it is a parent project which coordin You SHOULD prefer modern Java idioms: records, pattern matching, sealed interfaces/classes, `var` for local variables. You MUST NOT use fully qualified class names unless there is a conflict between 2 class names in different packages. -You MUST annotate the code with nullability annotations (`io.micronaut.core.annotation.Nullable`, `io.micronaut.core.annotation.NonNull`). +You MUST annotate the code with nullability annotations (`org.jspecify.annotations.Nullable`, `org.jspecify.annotations.NonNull`). You MUST NOT use reflection: Micronaut is a reflection-free framework tailored for integration with GraalVM. You MUST use `jakarta.inject` for dependency injection, NOT `javax.inject`. diff --git a/.github/workflows/central-sync.yml b/.github/workflows/central-sync.yml index 9779a4e414..de8e0c58c9 100644 --- a/.github/workflows/central-sync.yml +++ b/.github/workflows/central-sync.yml @@ -20,7 +20,7 @@ jobs: unset JAVA_HOME export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:) - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: v${{ github.event.inputs.release_version }} - uses: gradle/actions/wrapper-validation@v5 diff --git a/.github/workflows/graalvm-dev.yml b/.github/workflows/graalvm-dev.yml index d4b448519e..beb5209ccb 100644 --- a/.github/workflows/graalvm-dev.yml +++ b/.github/workflows/graalvm-dev.yml @@ -18,7 +18,7 @@ jobs: outputs: matrix: ${{ steps.build-matrix.outputs.matrix }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Build Matrix uses: micronaut-projects/github-actions/graalvm/build-matrix@master id: build-matrix @@ -47,7 +47,7 @@ jobs: sudo rm -rf /usr/lib/jvm/* unset JAVA_HOME export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:) - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Pre-Build Steps uses: micronaut-projects/github-actions/graalvm/pre-build@master id: pre-build diff --git a/.github/workflows/graalvm-latest.yml b/.github/workflows/graalvm-latest.yml index 33c162947f..c91deb3857 100644 --- a/.github/workflows/graalvm-latest.yml +++ b/.github/workflows/graalvm-latest.yml @@ -24,7 +24,7 @@ jobs: outputs: matrix: ${{ steps.build-matrix.outputs.matrix }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Build Matrix uses: micronaut-projects/github-actions/graalvm/build-matrix@master id: build-matrix @@ -49,7 +49,7 @@ jobs: sudo rm -rf /usr/lib/jvm/* unset JAVA_HOME export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:) - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Pre-Build Steps uses: micronaut-projects/github-actions/graalvm/pre-build@master id: pre-build diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index c39862e161..c1eafc0f0e 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -47,7 +47,7 @@ jobs: df -h - name: "📥 Checkout repository" - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 6c33fedaea..41c1b2d079 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -15,7 +15,7 @@ jobs: sudo rm -rf /usr/lib/jvm/* unset JAVA_HOME export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:) - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: actions/cache@v4 with: path: ~/.gradle/caches diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 269c6740a3..83e748bb08 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: unset JAVA_HOME export PATH=$(echo "$PATH" | tr ':' '\n' | grep -v '/usr/lib/jvm' | paste -sd:) - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} - uses: gradle/actions/wrapper-validation@v5 @@ -156,7 +156,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') steps: - name: Checkout repository - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Download artifacts uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: diff --git a/.gitignore b/.gitignore index c412e03691..ad3d274f6d 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,6 @@ src/main/docs/resources/img/micronaut-logo-white.svg # Ignore files generated by test-resources **/.micronaut/test-resources/ + +# Ignore gradle.properties generated by micronaut-build /buildSrc/gradle.properties