Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
536
Issue boards
Milestones
Wiki
Code
Merge requests
16
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
238047ac
Commit
238047ac
authored
7 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Upgrade gradle to v3.4 and use bin only
parent
7ba162e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compile.sh
+4
-4
4 additions, 4 deletions
compile.sh
with
4 additions
and
4 deletions
compile.sh
+
4
−
4
View file @
238047ac
...
...
@@ -107,12 +107,12 @@ fi
if
[
!
-d
"gradle/wrapper"
]
;
then
diagnostic
"Downloading gradle"
GRADLE_VERSION
=
3.
3
GRADLE_URL
=
https://download.videolan.org/pub/contrib/gradle/gradle-
${
GRADLE_VERSION
}
-
all
.zip
GRADLE_VERSION
=
3.
4
GRADLE_URL
=
https://download.videolan.org/pub/contrib/gradle/gradle-
${
GRADLE_VERSION
}
-
bin
.zip
wget
${
GRADLE_URL
}
2>/dev/null
||
curl
-O
${
GRADLE_URL
}
checkfail
"gradle: download failed"
unzip
-o
gradle-
${
GRADLE_VERSION
}
-
all
.zip
unzip
-o
gradle-
${
GRADLE_VERSION
}
-
bin
.zip
checkfail
"gradle: unzip failed"
cd
gradle-
${
GRADLE_VERSION
}
...
...
@@ -127,7 +127,7 @@ if [ ! -d "gradle/wrapper" ]; then
mv
gradle-
${
GRADLE_VERSION
}
/gradle/wrapper/ gradle
mv
gradle-
${
GRADLE_VERSION
}
/gradlew
.
chmod
a+x gradlew
rm
-rf
gradle-
${
GRADLE_VERSION
}
-
all
.zip
rm
-rf
gradle-
${
GRADLE_VERSION
}
-
bin
.zip
fi
####################
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment