Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenquotes.git

Upgrades to JDK 20, JUnit 5.10, and links to demo

AuthorDave Jarvis <email>
Date2023-08-24 19:16:21 GMT-0700
Commitf6b27fa6128c4d699fc4272ba8f0f779abd19820
Parentde87602
README.md
KeenQuotes converts straight quotes into curly quotes.
+# Demo
+
+Try the [demo](https://whitemagicsoftware.com/keenquotes/)!
+
# Requirements
-Download and install JRE 19:
+Download and install JRE 20:
-* [Java 19](https://bell-sw.com/pages/downloads) or newer.
+* [Java 20](https://bell-sw.com/pages/downloads) or newer.
# Download
Run the software from the command-line as follows:
- java -jar keenquotes.jar < src.txt > dst.txt 2> err.txt
+``` bash
+java -jar keenquotes.jar < src.txt > dst.txt 2> err.txt
+```
Where:
* `src.txt` -- Input document file that contains straight quotes.
* `dst.txt` -- Output document file that'll contain curled quotes.
* `err.txt` -- Error file that will note ambiguous conversion errors.
For help, run the software as follows:
- java -jar keenquotes.jar -h
+``` bash
+java -jar keenquotes.jar -h
+```
# Software Design
build.gradle
implementation 'info.picocli:picocli:4.7.4'
- testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
- testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.0'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
+ testImplementation 'org.junit.jupiter:junit-jupiter-params:5.10.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
compileJava {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
- options.compilerArgs.addAll(['--release', '19'])
+ options.compilerArgs.addAll(['--release', '20'])
}
Delta15 lines added, 7 lines removed, 8-line increase