Initial ffm support

- Starter for jline ffm terminal provider
- Build changes for compiling with gradle toolchains
  defaulting to jdk22
- spring-shell-sample-ffm which compiles with jdk22
- ci workflow setups jdk 17/22
- Relates #1131
This commit is contained in:
Janne Valkealahti
2024-08-30 07:05:03 +01:00
parent e1ef18e8b4
commit bad75882e1
9 changed files with 202 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
plugins {
id 'org.springframework.shell.sample'
id 'org.springframework.shell.toolchain'
}
description = 'Spring Shell Sample FFM'
tasks.named("bootJar") {
manifest {
attributes 'Enable-Native-Access': 'ALL-UNNAMED'
}
}
dependencies {
management platform(project(":spring-shell-management"))
implementation project(':spring-shell-starters:spring-shell-starter-ffm')
testImplementation project(':spring-shell-starters:spring-shell-starter-test')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.awaitility:awaitility'
}