Skip to content

Commit

Permalink
Android: fixing pure Lua plugins in lua_51 directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Shchvova committed Jun 8, 2020
1 parent 97ff5fc commit 658644d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion platform/android/app/build.gradle.kts
Expand Up @@ -374,7 +374,8 @@ android.applicationVariants.all {
.segments.drop(1)
.joinToString(".")
.replaceAfterLast(".", "lu")
.removePrefix("lua.lua_51.")
.removePrefix("lua.")
.removePrefix("lua_51.")
else -> throw InvalidUserDataException("Unknown location of Lua file '$it'!")
}
exec {
Expand Down Expand Up @@ -550,6 +551,7 @@ fun downloadAndProcessCoronaPlugins(reDownloadPlugins: Boolean = true) {
copy {
from(coronaPlugins) {
include("*/lua/lua_51/**/*")
include("*/lua_51/**/*")
exclude("**/*.lua")
}
into("$generatedPluginAssetsDir/.corona-plugins")
Expand Down
2 changes: 1 addition & 1 deletion subrepos/enterprise

0 comments on commit 658644d

Please sign in to comment.