Build the default Apps controller in clean Android releases
This commit is contained in:
1 parent
2e6ae1c155
commit
58a4b5a53b
1 file changed
+3
-1
@@ -193,9 +193,11 @@ tasks.named('preBuild').configure {
|
||||
// including direct Gradle/F-Droid builds and incremental asset-only changes.
|
||||
def appsControllerFile = rootProject.file(project.findProperty('app.appsBundle') ?:
|
||||
System.getenv('APPS_BUNDLE') ?: '../build/apps-ui/apps.zx')
|
||||
def appsControllerMakePath = appsControllerFile == rootProject.file('../build/apps-ui/apps.zx') ?
|
||||
'build/apps-ui/apps.zx' : appsControllerFile.absolutePath
|
||||
tasks.register('prepareAppPackage', Exec) {
|
||||
workingDir rootProject.file('..')
|
||||
commandLine 'make', 'apps', "APPS_BUNDLE=${appsControllerFile.absolutePath}"
|
||||
commandLine 'make', 'apps', "APPS_BUNDLE=${appsControllerMakePath}"
|
||||
}
|
||||
def sharedAppAssets = layout.buildDirectory.dir('generated/app-assets')
|
||||
def stageAppPackage = tasks.register('stageAppPackage', Sync) {
|
||||
|
||||
Reference in new issue
Block a user