Browse Source

Use on all OSes the same .gradle fix as on windows (#1256)

pull/1274/head
alexander-gorshenev 3 years ago committed by GitHub
parent
commit
1afb3b1113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      compose/scripts/skikoAospCommit

9
compose/scripts/skikoAospCommit

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

Loading…
Cancel
Save