Commit Graph

665 Commits

Author SHA1 Message Date
Janne Valkealahti
6f220e2ea4 Fix deprecation in aot hints 2022-09-14 15:11:01 +01:00
Janne Valkealahti
15f03b358f Rework getting started section
- With build add feature to resolve dep versions which
  can be used in docs.
- More polished maven/gradle example.
- Relates #527
2022-09-14 09:09:25 +01:00
Janne Valkealahti
754e00d0ae Add Automatic-Module-Name to jar manifest
- Basically doing same what framework/boot does for jar manifests.
- Copied gradle settings from boot which gives us dot format like
  Automatic-Module-Name: spring.shell.core
- Fixes #529
2022-09-13 09:26:42 +01:00
Selim Horri
46b2b54b1e Docs correctness!
Hi,
This is a simple careless mistake that i noticed when reading Spring Shell docs.
Simple but worth it! :)
Kindest,
2022-09-12 09:30:26 +01:00
guang384
37b0578c5d Wraps ExtendedArgumentList into CompletingParsedLine prevent WARNING during startup.
- Idea/hack copied from jline LineReaderImpl
- Fixes #526
2022-09-12 09:22:48 +01:00
Janne Valkealahti
c0517c8bfa Remove gradle metadata publish
- Remove broken metadata module files to possibly
  bring those back when concept is more useful and
  easier to setup/test.
- Fixes #521
2022-09-08 17:36:14 +01:00
Janne Valkealahti
93a614891f Add starter for jansi
- Fixes #525
2022-09-08 13:17:15 +01:00
Janne Valkealahti
f2009e2cb3 Move starter modules under starters
- Now all starters are kept under spring-shell-starters dir.
- Fixes #524
2022-09-08 13:12:12 +01:00
Janne Valkealahti
ae7802204d Customize poms with correct dependencyManagement
- This is a fix for regression introduced in a9a420df22
  which was an attempt to work better with boot's aot plugin.
- Fix is a bit hacky but should work until we find better fix for this using
  tooling from gradle.
- Fixes #521
2022-09-07 17:35:23 +01:00
Janne Valkealahti
68af0bb804 Move runtime hints from sample to core
- Relates #490
2022-09-07 09:58:25 +01:00
Janne Valkealahti
146f9165ea Fix wrong jni fields in java.nio.Buffer 2022-09-07 08:51:01 +01:00
Janne Valkealahti
a79d2a6c53 Switch sample jni config programmatic
- Now generating jni-config.json via hints to test
  that side instead of having manually crafted file.
- Relates #490
2022-09-06 19:48:02 +01:00
Janne Valkealahti
a9a420df22 Switch to use implementation config
- Now switching to use implementation configuration as it
  works better with aot tooling.
- Relates #470
2022-09-06 19:39:14 +01:00
Janne Valkealahti
cf7c409d1c Enable ge settings with ci workflow 2022-08-23 08:27:34 +01:00
Janne Valkealahti
eab5b7267c Change pr workflow to gradle 2022-08-23 07:42:46 +01:00
Janne Valkealahti
7c4700b7b5 Fix next handling in ComponentFlow
- This fixes a bug where returning null from a next()
  didn't stop a flow.
- Fixes #510
2022-08-22 16:30:08 +01:00
Janne Valkealahti
52baaa3f86 Use graal metadata repository
- New version 0.1.1 now enabled in sample.
- Remove hibernate validator hints as those are
  in metadata repo.
- Relates #490
2022-08-19 08:09:06 +01:00
Janne Valkealahti
310cbf84a0 Remove old spring-native sample config
- Relates #490
2022-08-19 08:05:17 +01:00
Janne Valkealahti
42d2b68d5e Update readme 2022-08-18 16:17:45 +01:00
Janne Valkealahti
79350939a5 Handle When.MAYBE warning
- Add com.google.code.findbugs:jsr305 to compileOnly
  order to get rid of warnings.
2022-08-18 08:51:35 +01:00
Janne Valkealahti
eb82af42ed Polish javadocs 2022-08-18 08:34:13 +01:00
Janne Valkealahti
650f0ae3a5 Update labels 2022-08-18 08:26:51 +01:00
Janne Valkealahti
beed1cd681 Upgrade gradle 7.5.1
- Fixes #506
2022-08-18 07:56:50 +01:00
Janne Valkealahti
57b9259701 Split builtin command docs
- Fixes #504
2022-08-17 17:37:05 +01:00
Janne Valkealahti
6749ec228d Add gradle ge integration 2022-08-17 17:18:29 +01:00
Janne Valkealahti
61cdf0a744 Create JavaConventions for better options
- Looks like with gradle we don't get automatic utf-8 encoding with compiler
  so add it and same time use separate JavaConventions as we want to
  apply it to modules and samples.
- Relates #470
2022-08-17 14:17:18 +01:00
Janne Valkealahti
bb7afdf10f Configure build-info for sample
- e2e tests version command fails without build-info.
- Relates #470
2022-08-17 09:28:38 +01:00
Janne Valkealahti
212ee43989 Change e2e tests for gradle changes
- Fix e2e workflow to build with gradle.
- Fix e2e paths to ones generated by gradle.
- Relates #470
2022-08-17 08:52:19 +01:00
Janne Valkealahti
fee09f9ff5 Integration native build to sample
- This adds a way to build native binary for a sample which
  were missed from original gradle work.
- Relates #470
2022-08-17 08:45:31 +01:00
Janne Valkealahti
2173c9bf84 Change management deps to be constraints
- Looks like if plain deps are not defined as constraints test
  deps will leak into a fatjar build i.e. with sample.
- Change it how its done in spring security where this idea
  was taken.
- Remove use of maven-publish plugin which is not needed.
- Relates #470
2022-08-17 08:42:51 +01:00
Janne Valkealahti
891e1e17ef Polish 2022-08-16 15:08:31 +01:00
Janne Valkealahti
c1c1da84db Remove maven build
- Relates #470
2022-08-16 12:48:04 +01:00
Janne Valkealahti
dfb931c2ee Config jfrog to use plugin
- Relates #470
2022-08-16 12:33:51 +01:00
Janne Valkealahti
19902ed021 Add missing runs-on to ci workflow
- Relates #470
2022-08-16 12:08:46 +01:00
Janne Valkealahti
a45e0abf58 Change ci workflow to use gradle
- Relates #470
2022-08-16 12:06:53 +01:00
Janne Valkealahti
39c4519a3f Add gradle build files
- First set of changes for introduction of a gradle build.
- Relates #470
2022-08-16 10:30:15 +01:00
Janne Valkealahti
a143d25ffc Apply correct completion
- This commit fixes two issues.
- Firstly complete with correct option as existing bug was
  to wrongly always complete with first option which used
  wrong provider.
- Secondly filter out duplicate option proposals giving better
  result when options is already in place.
- Fixes #495
2022-08-04 09:08:11 +01:00
Thibaut Gautier
23194d05e2 Fix ShellMethod not using context validator 2022-08-02 09:50:46 +01:00
Janne Valkealahti
1ff802d8e0 Add recorded jni-config for windows in sample
- While out of a box *nix don't need spesific native config as is,
  windows is a different story as it needs jna/jansi stuff and i.e.
  jna needs jvm native things which doesn't work without correct
  graal configs.
- Relates #490
2022-07-29 16:24:40 +01:00
Janne Valkealahti
291e93c9b6 Downgrade maven plugins
- Attempt to get poms published as locally this change
  did work. This would anyway be temporary fix as at some
  point we move over to gradle.
- Relates #486
2022-07-28 08:10:23 +01:00
Janne Valkealahti
b21ecdc358 Upgrade setup-jfrog-cli 2.21.5 2022-07-27 08:47:20 +01:00
Janne Valkealahti
ac520b7aa0 Upgrade setup-jfrog-cli 2.3.0 2022-07-27 08:20:47 +01:00
Janne Valkealahti
abbddae0b5 Upgrade graal 22.2.0 in workflows 2022-07-26 14:07:34 +01:00
Janne Valkealahti
98718286d9 Change profile for native sample
- Now using nativex instead of native due to change in
  boot plugin.
2022-07-26 13:35:44 +01:00
Janne Valkealahti
e193ca1d24 Upgrade to Boot 3.x
- For now port spring-native to framework config.
- 3rd party configs should go somewhere else.
- Fix changes from javax to jakarta.
- Change java settings as we now require jdk 17.
- Fixes #385
2022-07-24 08:07:14 +01:00
Janne Valkealahti
218abd7095 Update readme
Notes about main now that we're starting boot 3 dev.
2022-07-23 16:04:21 +01:00
Janne Valkealahti
bff7a22b5e Next major development version 2022-07-23 15:57:21 +01:00
Janne Valkealahti
f826f29d77 Next development version 2022-07-23 15:15:17 +01:00
Janne Valkealahti
000ff981da Add pom fields required by central 2022-07-23 14:57:42 +01:00
Janne Valkealahti
dc4dab82f3 Polish release notes template 2022-07-23 07:38:13 +01:00