Added versions.
This commit is contained in:
parent
87ddaec8b8
commit
7152d9f899
2 changed files with 17 additions and 2 deletions
|
@ -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}')"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue