|
1 | | -:spring-fu-version: 0.3.0.M5 |
| 1 | +:spring-fu-version: 0.3.0 |
2 | 2 | :kofu-kdoc-url: http://repo.spring.io/milestone/org/springframework/fu/spring-fu-kofu/{spring-fu-version}/spring-fu-kofu-{spring-fu-version}-javadoc.jar! |
3 | | -:framework-kdoc-url: https://docs.spring.io/spring-framework/docs/5.3.x/kdoc-api |
| 3 | +:framework-kdoc-url: https://docs.spring.io/spring-framework/docs/5.2.x/kdoc-api |
4 | 4 |
|
5 | 5 | image:https://img.shields.io/badge/Kofu%20documentation-blue.svg["Kofu documentation", link="{kofu-kdoc-url}/kofu/org.springframework.fu.kofu/-application-dsl.html"] |
6 | 6 |
|
7 | | -== Kofu DSL for Spring Boot |
| 7 | +== KoFu DSL for Spring Boot |
8 | 8 |
|
9 | | -Kofu (for **Ko**tlin and **fu**nctional) is an alternative way of configuring explicitly your Spring Boot application, |
| 9 | +KoFu (for **Ko**tlin and **Fu**nctional) is an alternative way of configuring explicitly your Spring Boot application, |
10 | 10 | different from regular auto-configuration, using a Kotlin DSL. It is based on Spring Boot infrastructure, but |
11 | 11 | https://github.com/spring-projects/spring-fu/tree/master/autoconfigure-adapter[used via functional bean definitions] |
12 | 12 | instead of JavaConfig. |
@@ -67,24 +67,6 @@ To use WebFlux.fn instead |
67 | 67 | * Use `spring-boot-starter-webflux` starter instead of `spring-boot-starter-web` |
68 | 68 | * Use `coRouter { }` instead of `router { }` if you want to use Coroutines instead of Reactor API |
69 | 69 |
|
70 | | -=== Dependencies |
71 | | - |
72 | | -Kofu is technically just a dependency you add to your Spring Boot project. |
73 | | - |
74 | | -```kotlin |
75 | | -repositories { |
76 | | - mavenCentral() |
77 | | - maven("https://repo.spring.io/milestone") |
78 | | -} |
79 | | - |
80 | | -dependencies { |
81 | | - implementation("org.springframework.fu:spring-fu-kofu:0.3.0.M5") |
82 | | - |
83 | | - implementation("org.springframework.boot:spring-boot-starter-web") |
84 | | - testImplementation("org.springframework.boot:spring-boot-starter-webflux") |
85 | | -} |
86 | | -``` |
87 | | - |
88 | 70 | === Getting started |
89 | 71 |
|
90 | 72 | * Go to https://start.spring.io/#!type=gradle-project&language=kotlin[start.spring.io] |
@@ -114,5 +96,5 @@ fun main() { |
114 | 96 | See also sample projects https://github.com/spring-projects/spring-fu/tree/master/samples[here]. |
115 | 97 |
|
116 | 98 | You can now also benefits of |
117 | | -https://docs.spring.io/spring/docs/5.3.x/spring-framework-reference/[Spring Framework reference documentation] |
| 99 | +https://docs.spring.io/spring/docs/5.2.x/spring-framework-reference/[Spring Framework reference documentation] |
118 | 100 | which is now available with Kotlin code samples. |
0 commit comments