2015-05-15 16:37:43 +08:00
|
|
|
# Project-wide Gradle settings.
|
|
|
|
|
|
|
|
# IDE (e.g. Android Studio) users:
|
|
|
|
# Gradle settings configured through the IDE *will override*
|
|
|
|
# any settings specified in this file.
|
|
|
|
|
|
|
|
# For more details on how to configure your build environment visit
|
|
|
|
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
|
|
|
|
|
|
# Specifies the JVM arguments used for the daemon process.
|
|
|
|
# The setting is particularly useful for tweaking memory settings.
|
|
|
|
# Default value: -Xmx10248m -XX:MaxPermSize=256m
|
|
|
|
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
|
|
|
|
|
|
|
# When configured, Gradle will run in incubating parallel mode.
|
|
|
|
# This option should only be used with decoupled projects. More details, visit
|
|
|
|
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
2017-03-14 13:41:28 +08:00
|
|
|
# org.gradle.parallel=true
|
2017-11-23 09:08:50 +08:00
|
|
|
|
|
|
|
# Android SDK version that will be used as the compile project
|
2018-02-08 09:24:33 +08:00
|
|
|
PROP_COMPILE_SDK_VERSION=25
|
2017-11-23 09:08:50 +08:00
|
|
|
|
|
|
|
# Android SDK version that will be used as the earliest version of android this application can run on
|
|
|
|
PROP_MIN_SDK_VERSION=14
|
|
|
|
|
|
|
|
# Android SDK version that will be used as the latest version of android this application has been tested on
|
|
|
|
PROP_TARGET_SDK_VERSION=27
|
|
|
|
|
2018-02-08 09:24:33 +08:00
|
|
|
# Android Build Tools version that will be used as the compile project
|
|
|
|
PROP_BUILD_TOOLS_VERSION=27.0.1
|
2017-11-23 09:08:50 +08:00
|
|
|
|
|
|
|
# List of CPU Archtexture to build that application with
|
2017-12-01 17:29:34 +08:00
|
|
|
# Available architextures (armeabi-v7a | arm64-v8a | x86)
|
2017-11-23 09:08:50 +08:00
|
|
|
# To build for multiple architexture, use the `:` between them
|
|
|
|
# Example - PROP_APP_ABI=armeabi-v7a:arm64-v8a:x86
|
2017-12-01 17:29:34 +08:00
|
|
|
PROP_APP_ABI=armeabi-v7a
|
2017-03-29 15:56:46 +08:00
|
|
|
|
2018-02-08 09:24:33 +08:00
|
|
|
# android cmake support
|
|
|
|
# uncomment it, native code will build by cmake
|
|
|
|
# keep comment, native code will build by ndkBuild
|
cmake support win32 ,and support generate&use prebuilt libs (#18683)
* fix win32 prebuilt error, and set cmake as default android native build
* cpp-template support msvc
* add msvc version check
* add -D_USRLUASTATIC, fix lua lib cmake compile error
* fix cpp-empty-test res copy dir, add function needed
* improve msvc res copy
* refactor cmake copy dll logic
* fix cpp-tests compile error
* refactor copy dll temp
* refactor win32 exe using dlls
* js-project compile support cmake using msvc
* improve res mark for win32
* update the way of lua project res mark
* add D_USRLUASTATIC for lua project
* unify RELEASE Release to Release, add CMAKE_CONFIGURATION_TYPES
* improve VS shows targets, add folder
* improve mac/ios res mark
* reduce useless comments
* unify cpp src include variable
* refactor cpp test project package logic
* improve pkg app logic
* start support prebuilt libs for cpp project using cmake
* improve prebuilt libs generate
* expand js/lua support prebuilt libs on mac
* adapt IDE generate libs path
* start do prebuilt for android
* improve the way of using external libs for prebuilt
* prebuilt libs support cpp-empty-test on android studio
* cpp-tests prebuilt libs, and remove useless
* start to improve libs using, to adapt prebuilt
* improve cpp tests prebuilt on android
* prebuilt support lua & js test on android
* prebuilt support cpp&js template
* rename prebuilt variabl, detail androd config
* finish android support prebuilt using cmake
* fix cmake script run in windows error
* reduce variable name length
* improve the way of win32 use dlls to adapt prebuilt
* loosen pick js/lua engine lib condition
* self review and start check linux build
* unify compile option location
* strict copy dlls condition
* improve libs link order
* start redo the way of copy dlls
* unify dlls copy logic
* fix linux res copy error
* update cmake copy file path in linux
* make prebuilt dir if needed, and divide Debug and Release dir
* cmake win32 divide Debug and Release dir well
* comment Lua Template project, for the unfinished lua simulator support
* add simulator cmake file
* start support simulator
* simulator support cmake build on macOS
* fix simulator compile error on win32
* add simulator prebuilt support
* improve mark cocos app macro
* improve cmake template project format
* improve cmake app files format
* fix format improve mistake
* detail cmake readme
* improve readme, useless comments
* add game.rc to template project
* check travis openssl version
* try update travis openssl
* upgrade travis openssl
* change openssl link
* change to upgrade openssl
* re install python with upgrade openssl
* add comment for macro and func, improve variable name
2018-03-08 09:47:57 +08:00
|
|
|
PROP_NDK_MODE=cmake
|
2018-02-08 09:24:33 +08:00
|
|
|
|
2017-03-29 15:56:46 +08:00
|
|
|
# uncomment it and fill in sign information for release mode
|
|
|
|
#RELEASE_STORE_FILE=file path of keystore
|
|
|
|
#RELEASE_STORE_PASSWORD=password of keystore
|
|
|
|
#RELEASE_KEY_ALIAS=alias of key
|
2017-11-23 09:08:50 +08:00
|
|
|
#RELEASE_KEY_PASSWORD=password of key
|