1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Add gradle wrapper (#4954)

Gradle wrapper permit to use multiple gradle versions across OS versions
This commit is contained in:
Ner'zhul 2016-12-24 12:30:18 +01:00 committed by GitHub
parent e3cbe521fc
commit b95f543da9
5 changed files with 262 additions and 2 deletions

View file

@ -781,7 +781,7 @@ apk: local.properties assets $(ICONV_LIB) $(IRRLICHT_LIB) $(CURL_LIB) $(GMP_LIB)
fi; \
export VERSION_STR="${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" && \
export BUILD_TYPE_C=$$(echo "$${BUILD_TYPE}" | sed 's/./\U&/') && \
gradle assemble$$BUILD_TYPE_C && \
./gradlew assemble$$BUILD_TYPE_C && \
echo "APK stored at: build/outputs/apk/Minetest-$$BUILD_TYPE.apk" && \
echo "You can install it with \`make install_$$BUILD_TYPE\`"
@ -799,7 +799,7 @@ prep_srcdir :
fi
clean_apk :
gradle clean
./gradlew clean
clean_all :
@$(MAKE) clean_apk; \