Upgraded to Kotlin 1.5.0

This commit is contained in:
Erik C. Thauvin 2021-04-28 12:06:04 -07:00
parent a27b5fa6eb
commit 22e23c63e5
10 changed files with 19 additions and 19 deletions

6
preflightcheck.sh Normal file → Executable file
View file

@ -2,7 +2,7 @@
# set source and test locations
src="src/main/kotlin/net/thauvin/erik/pinboard"
test="src/main/kotlin/net/thauvin/erik/pinboard"
test="src/test/kotlin/net/thauvin/erik/pinboard"
# e.g: .java, .kt, etc.
ext=".kt"
java8=true
@ -11,7 +11,7 @@ declare -a examples=(
"samples/java run"
"samples/kotlin run")
# e.g: empty or javadoc, etc.
gradle_doc="dokka"
gradle_doc="dokkaJavadoc"
# e.g. empty or sonarqube
gradle_sonar="sonarqube"
# gradle options for examples
@ -163,7 +163,7 @@ examplesMenu() {
validateCopyrights() {
clear
echo -e "${cyan}Validating copyrights...${std}"
for f in "LICENSE.TXT" ${src}/*${ext} ${test}/*${ext}
for f in "LICENSE.txt" ${src}/*${ext} ${test}/*${ext}
do
if [ -f "$f" ]
then