Skip to content

Commit f41f55c

Browse files
committed
Add reactive-spring-fx project and GitHub Action CI.
1 parent c668881 commit f41f55c

File tree

12 files changed

+834
-1
lines changed

12 files changed

+834
-1
lines changed

.github/workflows/ci.yaml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: CI
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
trigger:
6+
description: Type m to triggre manual jobs
7+
required: false
8+
default: ''
9+
push:
10+
jobs:
11+
reactive-spring-fx:
12+
name: reactive-spring-fx-java-${{ matrix.java }}
13+
if: github.event.inputs.trigger == ''
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 10
16+
strategy:
17+
matrix:
18+
java: [ 11, 17, 18 ]
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: actions/setup-java@v3
22+
with:
23+
distribution: 'temurin'
24+
java-version: ${{ matrix.java }}
25+
- uses: actions/cache@v3
26+
id: ci
27+
with:
28+
path: |
29+
~/.npm
30+
~/.node
31+
~/.local
32+
~/.gradle
33+
~/.docker
34+
~/.m2/repository
35+
!~/.m2/repository/com/gituhb/daggerok
36+
key: ${{ runner.os }}-${{ hashFiles('**/*.gradle', '**/pom.xml') }}
37+
- uses: actions/setup-node@v2
38+
- run: cd $GITHUB_WORKSPACE/reactive-spring-fx ; ./mvnw
39+
dependency-updates:
40+
if: contains(github.event.inputs.trigger, 'M')
41+
|| startsWith(github.event.inputs.trigger, 'm')
42+
name: dependency-updates-java-${{ matrix.java }}
43+
runs-on: ubuntu-latest
44+
timeout-minutes: 10
45+
strategy:
46+
matrix:
47+
java: [ 11, 17, 18 ]
48+
steps:
49+
- uses: actions/checkout@v2
50+
- uses: actions/setup-java@v3
51+
with:
52+
# 'temurin' 'zulu' 'adopt' 'adopt-hotspot' 'adopt-openj9' 'liberica' 'microsoft'
53+
distribution: 'temurin'
54+
java-version: ${{ matrix.java }}
55+
- uses: actions/cache@v3
56+
id: ci
57+
with:
58+
path: |
59+
~/.npm
60+
~/.node
61+
~/.local
62+
~/.gradle
63+
~/.docker
64+
~/.m2/repository
65+
!~/.m2/repository/com/gituhb/daggerok
66+
key: ${{ runner.os }}-${{ hashFiles('**/*.gradle', '**/pom.xml') }}
67+
- run: cd $GITHUB_WORKSPACE/reactive-spring-fx ; ./mvnw versions:display-plugin-updates
68+
- run: cd $GITHUB_WORKSPACE/reactive-spring-fx ; ./mvnw versions:display-property-updates
69+
- run: cd $GITHUB_WORKSPACE/reactive-spring-fx ; ./mvnw versions:display-parent-updates

README.adoc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
= javafx-examples image:https://travis-ci.org/daggerok/javafx-examples.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/javafx-examples"]
1+
= javafx-examples image:https://travis-ci.org/daggerok/javafx-examples.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/javafx-examples"] image:https://travis-ci.org/daggerok/javafx-examples.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/javafx-examples"]
22

33
//tag::content[]
44

55
This repository contains JavaFX playground projects examples.
66

77
== projects
88

9+
- link:https://github.com/daggerok/javafx-spring-boot-app[GitHub: daggerok/javafx-spring-boot-app]
910
- link:./spring-boot-kotlin/[Spring Boot Kotlin JavaFX starter]
1011
- link:./starter/[JavaFX starter (supported: kotlin, gradle, maven) w/fxml]
1112
- link:./starter-no-fxml/[JavaFX starter (supported: kotlin, gradle, maven) wo/fxml]

reactive-spring-fx/.gitignore

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
!**/src/main/**/target/
4+
!**/src/test/**/target/
5+
6+
### STS ###
7+
.apt_generated
8+
.classpath
9+
.factorypath
10+
.project
11+
.settings
12+
.springBeans
13+
.sts4-cache
14+
15+
### IntelliJ IDEA ###
16+
.idea
17+
*.iws
18+
*.iml
19+
*.ipr
20+
21+
### NetBeans ###
22+
/nbproject/private/
23+
/nbbuild/
24+
/dist/
25+
/nbdist/
26+
/.nb-gradle/
27+
build/
28+
!**/src/main/**/build/
29+
!**/src/test/**/build/
30+
31+
### VS Code ###
32+
.vscode/
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.5/apache-maven-3.8.5-bin.zip
2+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar

reactive-spring-fx/README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# reactive-spring-fx
2+
3+
https://www.youtube.com/watch?v=Lse51SpfKHo&ab_channel=SpringDeveloper
4+
5+
<!--
6+
7+
### Reference Documentation
8+
9+
For further reference, please consider the following sections:
10+
11+
* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)
12+
* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.7.1/maven-plugin/reference/html/)
13+
* [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.7.1/maven-plugin/reference/html/#build-image)
14+
* [Coroutines section of the Spring Framework Documentation](https://docs.spring.io/spring/docs/5.3.21/spring-framework-reference/languages.html#coroutines)
15+
* [Spring Reactive Web](https://docs.spring.io/spring-boot/docs/2.7.1/reference/htmlsingle/#web.reactive)
16+
17+
### Guides
18+
19+
The following guides illustrate how to use some features concretely:
20+
21+
* [Building a Reactive RESTful Web Service](https://spring.io/guides/gs/reactive-rest-service/)
22+
23+
-->

0 commit comments

Comments
 (0)