Skip to content

Commit b7b5893

Browse files
authored
Merge pull request #361 from Yubico/dev-docs
Improve developer docs
2 parents 33f31b3 + 45a2bcf commit b7b5893

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed

README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,3 +849,9 @@ built artifacts.
849849
Official Yubico software signing keys are listed on the
850850
https://developers.yubico.com/Software_Projects/Software_Signing.html[Yubico
851851
Developers site].
852+
853+
854+
[#development]
855+
=== Development
856+
857+
See the link:https://github.com/Yubico/java-webauthn-server/blob/main/doc/development.md[developer docs].

doc/development.md

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@ Developer docs
22
===
33

44

5+
JDK versions
6+
---
7+
8+
The project's official build JDK version is the latest LTS JDK version,
9+
although the project may lag behind the true latest release for a while
10+
until we can upgrade the build definition to match this target.
11+
12+
The official build JDK version currently in effect is encoded in the
13+
["Reproducible binary"](https://github.com/Yubico/java-webauthn-server/blob/main/.github/workflows/release-verify-signatures.yml)
14+
workflow,
15+
as the JDK version is crucial for successfully reproducing released binaries.
16+
This version is also enforced in the release process in
17+
[`build.gradle`](https://github.com/Yubico/java-webauthn-server/blob/main/build.gradle).
18+
19+
The [primary build workflow](https://github.com/Yubico/java-webauthn-server/blob/main/.github/workflows/build.yml)
20+
should run on all currently maintaned LTS JDK versions,
21+
and ideally also the latest non-LTS JDK version if Gradle and other build dependencies are compatible.
22+
23+
A list of JDK versions and maintenance status can be found [here](https://en.wikipedia.org/wiki/Java_version_history).
24+
25+
26+
Code formatting
27+
---
28+
29+
Use `./gradlew spotlessApply` to run the automatic code formatter.
30+
You can also run it in continuous mode as `./gradlew --continuous spotlessApply`
31+
to reformat whenever a file changes.
32+
33+
534
Setup for publishing
635
---
736

@@ -16,9 +45,7 @@ ossrhPassword=bmjuyWSIik8P3Nq/ZM2G0Xs0sHEKBg+4q4zTZ8JDDRCr
1645
```
1746

1847

19-
Code formatting
48+
Publishing a release
2049
---
2150

22-
Use `./gradlew spotlessApply` to run the automatic code formatter.
23-
You can also run it in continuous mode as `./gradlew --continuous spotlessApply`
24-
to reformat whenever a file changes.
51+
See the [release checklist](./releasing.md).

0 commit comments

Comments
 (0)