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: # 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
} }

Loading…
Cancel
Save