spring-boot/spring-boot-project/spring-boot-tools
Andy Wilkinson f61c54632a
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:24], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:false version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
Work around Kotlin plugin breaking AOT compile classpaths
Compilation of AOT-generated source code requires runtime
dependencies to be on the classpath. This is necessary as a class
from a runtime dependency may appear in the signature of a generated
method that defines a bean. To accomplish this, Boot's AOT plugin
sets the org.gradle.usage attribute of the compile classpath
configurations of the aot and aotTest source sets to java-runtime.

When the Kotlin plugin is applied after Boot's AOT plugin it breaks
this arrangement by setting org.gradle.usage to java-api. There
doesn't appear to be a way to prevent it from messing with the aot
and aotTest source sets despite them not using Kotlin. This commit
works around the problem by repairing the damage and setting the
attribute back to java-runtime again.

Fixes gh-46397
2025-07-10 15:59:37 +01:00
..
spring-boot-antlib Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-autoconfigure-processor Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-buildpack-platform Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-cli Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-configuration-metadata Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-configuration-metadata-changelog-generator Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-configuration-processor Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-gradle-plugin Work around Kotlin plugin breaking AOT compile classpaths 2025-07-10 15:59:37 +01:00
spring-boot-gradle-test-support Test Gradle plugin against Gradle 7.6.6 2025-07-07 07:52:21 +01:00
spring-boot-jarmode-tools Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-loader Polish 2025-07-07 09:31:43 +01:00
spring-boot-loader-classic Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-loader-tools Streamline CRC and hash calculation when preparing stored entries 2025-06-25 13:31:04 +01:00
spring-boot-maven-plugin Add @EnabledOnLocale annotation for locale-based tests 2025-06-27 12:45:35 +02:00
spring-boot-properties-migrator Add license header to gradle files 2025-06-20 17:20:50 -07:00
spring-boot-test-support Add @EnabledOnLocale annotation for locale-based tests 2025-06-27 12:45:35 +02:00
spring-boot-test-support-docker Add license header to gradle files 2025-06-20 17:20:50 -07:00