Right now the image supports Gradle >= 3.0. This should be wide enough for the majority of use cases. If we need to add additional gradle versions we can easily do so.
13 lines
234 B
Bash
13 lines
234 B
Bash
#!/bin/bash
|
|
|
|
REPO="$(pwd)"
|
|
export PATH="/opt/gradle/bin:$PATH"
|
|
|
|
if [ -d "fdroid" ]; then
|
|
cp -Rv fdroid/* /fdroiddata/metadata;
|
|
fi
|
|
|
|
cd /fdroiddata
|
|
find ./metadata -type f -name "*.txt" -exec sed -i "s:%REPO:$REPO:g" {} +
|
|
fdroid $@
|