|
|
@ -46,17 +46,12 @@ $SED -i 's/skiko = ".*"/skiko = "'"$SKIKO_VERSION"'"/' $AOSP_COMPOSE_SOURCE/fram |
|
|
|
|
|
|
|
|
|
|
|
# we have error on the second call of Gradle: |
|
|
|
# we have error on the second call of Gradle: |
|
|
|
# Cannot invoke "Build_gradle.getAllFilesWithDependencies()" because "this.this$0.this$0" is null |
|
|
|
# Cannot invoke "Build_gradle.getAllFilesWithDependencies()" because "this.this$0.this$0" is null |
|
|
|
fixWindows() { |
|
|
|
fixGradle() { |
|
|
|
rm -rf .gradle |
|
|
|
rm -rf .gradle |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
downloadSkiko() { |
|
|
|
downloadSkiko() { |
|
|
|
if [[ "$OSTYPE" == "msys" ]]; then |
|
|
|
fixGradle |
|
|
|
fixWindows |
|
|
|
|
|
|
|
elif [[ "$OSTYPE" == "win32" ]]; then |
|
|
|
|
|
|
|
fixWindows |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$JB_GRADLE -PallowJetbrainsDev=true -PartifactName=$1 |
|
|
|
$JB_GRADLE -PallowJetbrainsDev=true -PartifactName=$1 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|