Skip to content

Commit e670615

Browse files
committed
Release Spring Fu 0.3.0
1 parent 6aa8874 commit e670615

File tree

4 files changed

+13
-31
lines changed

4 files changed

+13
-31
lines changed

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
image:https://ci.spring.io/api/v1/teams/spring-fu/pipelines/spring-fu/badge["Build Status", link="https://ci.spring.io/teams/spring-fu/pipelines/spring-fu"]
22

3-
Spring Fu is an incubator for https://github.com/spring-projects-experimental/spring-fu/tree/master/jafu[Jafu] (Java DSL)
4-
and https://github.com/spring-projects-experimental/spring-fu/tree/master/kofu[Kofu] (Kotlin DSL) designed to configure
3+
Spring Fu is an incubator for https://github.com/spring-projects-experimental/spring-fu/tree/master/jafu[JaFu] (Java DSL)
4+
and https://github.com/spring-projects-experimental/spring-fu/tree/master/kofu[KoFu] (Kotlin DSL) designed to configure
55
Spring Boot explicitly with code in a declarative way with great discoverability thanks to auto-complete.
66
It provides fast startup (40% faster than regular auto-configuration on a minimal Spring MVC app), low memory consumption
77
and is a good fit with https://www.graalvm.org/docs/reference-manual/native-image/[GraalVM native] thanks to its (almost) reflection-less approach.
88

99
== Native images
1010

11-
If you are interested in running Spring applications (including Jafu and Kofu ones) as GraalVM native images,
11+
If you are interested in running Spring applications (including JaFu and KoFu ones) as GraalVM native images,
1212
see the https://github.com/spring-projects-experimental/spring-graalvm-native[spring-graalvm-native] project and its https://github.com/spring-projects-experimental/spring-graalvm-native/tree/master/spring-graalvm-native-samples/jafu[jafu] and https://github.com/spring-projects-experimental/spring-graalvm-native/tree/master/spring-graalvm-native-samples/jafu-webmvc[jafu-webmvc] samples.
1313

1414
== Status

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22

3-
./gradlew -x javadoc build publishToMavenLocal
3+
./gradlew -x javadoc -x dokka build publishToMavenLocal
44
cd samples
55
./gradlew build

jafu/README.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
:spring-fu-version: 0.3.0.M5
1+
:spring-fu-version: 0.3.0
22
:jafu-javadoc-url: http://repo.spring.io/milestone/org/springframework/fu/spring-fu-jafu/{spring-fu-version}/spring-fu-jafu-{spring-fu-version}-javadoc.jar!
33
:framework-javadoc-url: https://docs.spring.io/spring-framework/docs/5.3.x/javadoc-api
44

55
image:https://img.shields.io/badge/Jafu%20documentation-blue.svg["Jafu documentation", link="{jafu-javadoc-url}/index.html"]
66

7-
== Jafu DSL for Spring Boot
7+
== JaFu DSL for Spring Boot
88

9-
Jafu (for **Ja**va and **fu**nctional) is an alternative way of configuring explicitly your Spring Boot application,
9+
JaFu (for **Ja**va and **Fu**nctional) is an alternative way of configuring explicitly your Spring Boot application,
1010
different from regular auto-configuration, using a Java DSL. It is based on Spring Boot infrastructure, but
1111
https://github.com/spring-projects/spring-fu/tree/master/autoconfigure-adapter[used via functional bean definitions]
1212
instead of JavaConfig.
1313

1414
=== API reference
1515

16-
An overview of Jafu DSL is provided bellow with the related {jafu-javadoc-url}/index.html[API documentation].
16+
An overview of JaFu DSL is provided bellow with the related {jafu-javadoc-url}/index.html[API documentation].
1717
Be aware that a few static imports will be needed.
1818

1919
=== Getting started

kofu/README.adoc

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
:spring-fu-version: 0.3.0.M5
1+
:spring-fu-version: 0.3.0
22
: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
44

55
image:https://img.shields.io/badge/Kofu%20documentation-blue.svg["Kofu documentation", link="{kofu-kdoc-url}/kofu/org.springframework.fu.kofu/-application-dsl.html"]
66

7-
== Kofu DSL for Spring Boot
7+
== KoFu DSL for Spring Boot
88

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,
1010
different from regular auto-configuration, using a Kotlin DSL. It is based on Spring Boot infrastructure, but
1111
https://github.com/spring-projects/spring-fu/tree/master/autoconfigure-adapter[used via functional bean definitions]
1212
instead of JavaConfig.
@@ -67,24 +67,6 @@ To use WebFlux.fn instead
6767
* Use `spring-boot-starter-webflux` starter instead of `spring-boot-starter-web`
6868
* Use `coRouter { }` instead of `router { }` if you want to use Coroutines instead of Reactor API
6969

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-
8870
=== Getting started
8971

9072
* Go to https://start.spring.io/#!type=gradle-project&language=kotlin[start.spring.io]
@@ -114,5 +96,5 @@ fun main() {
11496
See also sample projects https://github.com/spring-projects/spring-fu/tree/master/samples[here].
11597

11698
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]
118100
which is now available with Kotlin code samples.

0 commit comments

Comments
 (0)