Add support for invoking AOT to the Gradle plugin
Closes gh-30527
This commit is contained in:
@@ -12,6 +12,7 @@ dependencies {
|
||||
implementation(project(":spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform"))
|
||||
implementation(project(":spring-boot-project:spring-boot-tools:spring-boot-loader-tools"))
|
||||
implementation("io.spring.gradle:dependency-management-plugin")
|
||||
implementation("org.graalvm.buildtools:native-gradle-plugin")
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
||||
implementation("org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlinVersion")
|
||||
implementation("org.jetbrains.kotlin:kotlin-compiler-runner:$kotlinVersion")
|
||||
|
||||
@@ -124,7 +124,9 @@ public class GradleBuild {
|
||||
new File(pathOfJarContaining(Versioned.class)),
|
||||
new File(pathOfJarContaining(ParameterNamesModule.class)),
|
||||
new File(pathOfJarContaining(JsonView.class)), new File(pathOfJarContaining(Platform.class)),
|
||||
new File(pathOfJarContaining(Toml.class)), new File(pathOfJarContaining(Lexer.class)));
|
||||
new File(pathOfJarContaining(Toml.class)), new File(pathOfJarContaining(Lexer.class)),
|
||||
new File(pathOfJarContaining("org.graalvm.buildtools.gradle.NativeImagePlugin")),
|
||||
new File(pathOfJarContaining("org.graalvm.reachability.JvmReachabilityMetadataRepository")));
|
||||
}
|
||||
|
||||
private String pathOfJarContaining(String className) {
|
||||
|
||||
Reference in New Issue
Block a user