File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,3 +319,10 @@ p.api.register
319319 scope = " project" ,
320320 kind = " string"
321321}
322+
323+ p .api .register
324+ {
325+ name = " androiduselegacypackaging" ,
326+ scope = " project" ,
327+ kind = " string"
328+ }
Original file line number Diff line number Diff line change @@ -480,6 +480,16 @@ function m.generate_project(prj)
480480
481481 p .push (' android {' )
482482
483+ if prj .androiduselegacypackaging then
484+ p .push (' android {' )
485+ p .push (' packagingOptions { ' )
486+ p .push (' jniLibs { ' )
487+ p .x (" useLegacyPackaging %s" , prj .androiduselegacypackaging )
488+ p .pop (' }' )
489+ p .pop (' }' )
490+ p .pop (' }' )
491+ end
492+
483493 if prj .androidnamespace then
484494 p .x (' namespace "%s"' , prj .androidnamespace )
485495 end
Original file line number Diff line number Diff line change @@ -116,6 +116,8 @@ assetdirs
116116 " path/to/assets" -- these will go into android asset manager and inside .pkg
117117}
118118
119+ androiduselegacypackaging " false" -- legacy packaging option (true/false)
120+
119121-- signing
120122androidkeystorefile " keystore.jks"
121123androidstorepassword " K3yStorePa55w0rd"
You can’t perform that action at this time.
0 commit comments