Skip to content
Snippets Groups Projects
Commit d3d9ebe7 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Import lua scripts into assets folder

parent 663a02d1
No related branches found
No related tags found
No related merge requests found
......@@ -3,3 +3,5 @@ gen/
libs/
obj/
.settings
assets/lua/
......@@ -12,6 +12,18 @@ android {
disable 'MissingTranslation', 'ExtraTranslation'
}
task luaPlaylistCopy(type: Copy) {
from '../vlc/share/lua/playlist'
into 'assets/lua/playlist'
exclude '**/*.txt'
}
task luaMetaCopy(type: Copy) {
from '../vlc/share/lua/meta'
into 'assets/lua/meta'
exclude '**/*.txt'
}
defaultConfig {
applicationId "org.videolan.vlc"
......@@ -19,6 +31,13 @@ android {
resValue "string", "build_host", hostName()
resValue "string", "build_revision", revision()
tasks.whenTaskAdded { task ->
if (task.name.startsWith('assemble')) {
task.dependsOn luaPlaylistCopy
task.dependsOn luaMetaCopy
}
}
//Set the build ABI according to build types only if not launched from compile.sh
if (System.getenv('PASSWORD_KEYSTORE') == null)
tasks.whenTaskAdded { task ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment