Compile less

This commit is contained in:
Paul Rouget 2018-08-09 17:54:35 +08:00
parent 8a1c1fa1fe
commit b79f80d9e5

View file

@ -147,7 +147,7 @@ android {
// Call our custom NDK Build task using flavor parameters
tasks.all {
compileTask ->
Pattern pattern = Pattern.compile(/^compile[A-Z][\w\d]+([A-Z][\w\d]+)(Debug|Release)/)
Pattern pattern = Pattern.compile(/^compile[A-Z][\w\d]+([A-Z][\w\d]+)(Debug|Release)Ndk/)
Matcher matcher = pattern.matcher(compileTask.name)
if (!matcher.find()) {
return