Added versions.

This commit is contained in:
Erik C. Thauvin 2019-04-05 23:49:04 -07:00
parent 87ddaec8b8
commit 7152d9f899
2 changed files with 17 additions and 2 deletions

View file

@ -1,5 +1,9 @@
#!/bin/bash
#
# Version: 1.0
#
# set source and test locations
src="src/main/kotlin/net/thauvin/erik/gradle/semver/"
test="src/main/kotlin/net/thauvin/erik/gradle/semver/"

View file

@ -1,7 +1,9 @@
#!/bin/bash
export JAVA_HOME="$JAVA8_HOME"
export PATH="$(cygpath "$JAVA_HOME")/bin:$PATH"
#
# Version: 1.0
#
# set the examples directories
declare -a dirs=(
@ -10,6 +12,9 @@ declare -a dirs=(
"examples/kotlin"
"annotation-processor/java"
"annotation-processor/kotlin")
java8=true
###
pwd=$PWD
cyan=$(tput setaf 6)
@ -17,6 +22,12 @@ green=$(tput setaf 2)
red=$(tput setaf 1)
std=$(tput sgr0)
if [ "$java8" = true ]
then
export JAVA_HOME="$JAVA8_HOME"
export PATH="$(cygpath "$JAVA_HOME")/bin:$PATH"
fi
kVer=$(kobaltw --version | awk '{print substr($2, 1, length($2)-1)}')
updateWrappers() {
curVer="$(gradle --version | awk '/Gradle/ {print $2}')"