This repository was archived by the owner on Feb 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
spring-graalvm-native-samples/webmvc-functional
spring-graalvm-native-substitutions Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 2424 <dependency >
2525 <groupId >org.springframework.experimental</groupId >
2626 <artifactId >spring-boot-autoconfigure-func</artifactId >
27- <version >0.1 .0</version >
27+ <version >0.2 .0</version >
2828 </dependency >
2929 <dependency >
3030 <groupId >org.springframework.experimental</groupId >
3131 <artifactId >spring-init-core</artifactId >
32- <version >0.1 .0</version >
32+ <version >0.2 .0</version >
3333 </dependency >
3434 <dependency >
3535 <groupId >org.springframework.experimental</groupId >
3636 <artifactId >spring-init-library</artifactId >
37- <version >0.1 .0</version >
37+ <version >0.2 .0</version >
3838 </dependency >
3939 <dependency >
4040 <groupId >org.springframework.boot</groupId >
7878 <plugin >
7979 <groupId >org.springframework.experimental</groupId >
8080 <artifactId >spring-init-maven-plugin</artifactId >
81- <version >0.1 .0</version >
81+ <version >0.2 .0</version >
8282 <executions >
8383 <execution >
8484 <id >sources</id >
Original file line number Diff line number Diff line change 77import org .springframework .boot .autoconfigure .context .PropertyPlaceholderAutoConfiguration ;
88import org .springframework .boot .autoconfigure .web .ServerProperties ;
99import org .springframework .boot .autoconfigure .web .servlet .DispatcherServletAutoConfiguration ;
10- import org .springframework .boot .autoconfigure .web .servlet .RouterFunctionAutoConfiguration ;
1110import org .springframework .boot .autoconfigure .web .servlet .ServletWebServerFactoryAutoConfiguration ;
11+ import org .springframework .boot .autoconfigure .web .servlet .WebMvcAutoConfiguration ;
1212import org .springframework .boot .autoconfigure .web .servlet .error .ErrorMvcAutoConfiguration ;
1313import org .springframework .boot .builder .SpringApplicationBuilder ;
1414import org .springframework .context .annotation .Bean ;
2323import static org .springframework .web .servlet .function .ServerResponse .ok ;
2424
2525@ SpringBootConfiguration
26- // Required for now to only enable functional infrastructure
2726@ ImportAutoConfiguration ({ PropertyPlaceholderAutoConfiguration .class , ConfigurationPropertiesAutoConfiguration .class ,
28- ServletWebServerFactoryAutoConfiguration .class , RouterFunctionAutoConfiguration .class ,
27+ ServletWebServerFactoryAutoConfiguration .class , WebMvcAutoConfiguration .class ,
2928 DispatcherServletAutoConfiguration .class , ErrorMvcAutoConfiguration .class })
3029@ ComponentScan
3130public class SampleApplication {
Original file line number Diff line number Diff line change 110110 <dependency >
111111 <groupId >org.springframework.experimental</groupId >
112112 <artifactId >spring-init-core</artifactId >
113- <version >0.0.1-SNAPSHOT </version >
113+ <version >0.2.0 </version >
114114 <scope >provided</scope >
115115 </dependency >
116116 <dependency >
You can’t perform that action at this time.
0 commit comments