We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 935e440 commit d44515cCopy full SHA for d44515c
2 files changed
cSploit/build.gradle
@@ -55,6 +55,9 @@ android {
55
}
56
57
lintOptions {
58
+ if (System.getenv("NIGHTLY_BUILD")) {
59
+ checkReleaseBuilds false
60
+ }
61
abortOnError false
62
63
nightly-build.sh
@@ -17,6 +17,7 @@ LOG_DIR="${DIR}/logs"
17
MAX_DAYS="15"
18
PREVIOUS_COMMIT=$(cat "${LOG_DIR}last_commit")
19
20
+export NIGHTLY_BUILD=1
21
22
die() {
23
echo -n -e "${RED}An error occured while building the nightly apk${RESET}\n"
@@ -68,7 +69,6 @@ oldpwd=$(pwd)
68
69
cd cSploit/jni >&3 2>&1 || die
70
./build.sh >&3 2>&1 || jni_die
71
cd "$oldpwd" >&3 2>&1 || die
-./gradlew clean >&3 2>&1 || die
72
./gradlew assembleRelease >&3 2>&1 || die
73
74
echo -n -e "${GREEN}Copying signed apk to output directory${RESET}\n" | tee >(cat - >&3)
0 commit comments