GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Unverified Commit fd0d37dc authored by Georg Koppen's avatar Georg Koppen Committed by Matthew Finkel
Browse files

Bug 40140: Create own Gradle project

Gradle versions change more frequently compared to other toolchain
parts. We don't want to rebuild the whole toolchain and subsequently all
projects just because the Gradle version for one project has changed.
We therefore start with creating an own, separate Gradle project where
all the respective Gradle versions needed by different projects are
fetched and prepared.

Gradle versions still present in `android-toolchain` will move over to
this new project in later commits.

We start with Gradle 6.5 as that is used for `application-services` now.
parent e6e880e6
#!/bin/bash
[% c("var/set_default_env") -%]
unzip -qq [% c("input_files_by_name/gradle") %]
mv [% project %]-[% c("var/gradle_version") %] [% project %]
[% c('tar', {
tar_src => [ project ],
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
}) %]
# vim: filetype=yaml sw=2
filename: '[% project %]-[% c("var/gradle_version") %].tar.gz'
var:
container:
use_container: 1
deps:
- unzip
gradle_version: 6.5
input_files:
- project: container-image
- URL: https://services.gradle.org/distributions/gradle-[% c("var/gradle_version") %]-bin.zip
name: gradle
sha256sum: 23e7d37e9bb4f8dabb8a3ea7fdee9dd0428b9b1a71d298aefd65b11dccea220f
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment