Upgraded to Gradle 7.1.

This commit is contained in:
Erik C. Thauvin 2021-06-20 01:34:19 -07:00
parent 4c4f7da0da
commit eb14e72255
20 changed files with 139 additions and 48 deletions

View file

@ -16,8 +16,8 @@ public class ReadingTimeSample {
rt.setPlural("minutes to read");
System.out.println("It will take " + rt.calcReadingTime() + ' ' + ReadingTime.wordCount(rt.getText())
+ " words and " + ReadingTime.imgCount(rt.getText()) + " images at " + rt.getWpm()
+ " words per minute.");
+ " words and " + ReadingTime.imgCount(rt.getText()) + " images at " + rt.getWpm()
+ " words per minute.");
} catch (IOException e) {
System.err.println("The file could not be read or found.");
}

View file

@ -13,7 +13,7 @@ fun main(args: Array<String>) {
println(
"It will take ${rt.calcReadingTime()} ${ReadingTime.wordCount(rt.text)} words and " +
"${ReadingTime.imgCount(rt.text)} images at ${rt.wpm} words per minute."
"${ReadingTime.imgCount(rt.text)} images at ${rt.wpm} words per minute."
)
} else {
System.err.println("The file could not be read or found.")