Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit fdb6c5b

Browse files
committed
Upgrade to spring-init 0.2.0
Closes gh-305
1 parent be5d2b3 commit fdb6c5b

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

spring-graalvm-native-samples/webmvc-functional/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
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>
@@ -78,7 +78,7 @@
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>

spring-graalvm-native-samples/webmvc-functional/src/main/java/app/main/SampleApplication.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
import org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration;
88
import org.springframework.boot.autoconfigure.web.ServerProperties;
99
import org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration;
10-
import org.springframework.boot.autoconfigure.web.servlet.RouterFunctionAutoConfiguration;
1110
import org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryAutoConfiguration;
11+
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration;
1212
import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration;
1313
import org.springframework.boot.builder.SpringApplicationBuilder;
1414
import org.springframework.context.annotation.Bean;
@@ -23,9 +23,8 @@
2323
import 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
3130
public class SampleApplication {

spring-graalvm-native-substitutions/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
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>

0 commit comments

Comments
 (0)