Use env ENGINEX_ROOT for templates

This commit is contained in:
halx99 2020-11-18 13:01:17 +08:00
parent 1051d38562
commit 32b007ff88
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import java.nio.file.Paths
include ':libcocos2dx'
project(':libcocos2dx').projectDir = new File(Paths.get("${System.env.COCOS2DX_ROOT}/cocos/platform/android/libcocos2dx").toUri())
project(':libcocos2dx').projectDir = new File(Paths.get("${System.env.ENGINEX_ROOT}/cocos/platform/android/libcocos2dx").toUri())
include ':HelloCpp'
project(':HelloCpp').projectDir = new File(settingsDir, 'app')
rootProject.name = "HelloCpp"

View File

@ -1,6 +1,6 @@
import java.nio.file.Paths
include ':libcocos2dx'
project(':libcocos2dx').projectDir = new File(Paths.get("${System.env.COCOS2DX_ROOT}/cocos/platform/android/libcocos2dx").toUri())
project(':libcocos2dx').projectDir = new File(Paths.get("${System.env.ENGINEX_ROOT}/cocos/platform/android/libcocos2dx").toUri())
include ':HelloLua'
project(':HelloLua').projectDir = new File(settingsDir, 'app')
rootProject.name = "HelloLua"