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:
parent
e3cbe521fc
commit
b95f543da9
5 changed files with 262 additions and 2 deletions
|
@ -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; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue