From 18cbdecf37e8cd34a9fadd0d51025321a9571950 Mon Sep 17 00:00:00 2001 From: FestplattenSchnitzel Date: Mon, 20 Dec 2021 10:35:58 +0100 Subject: [PATCH] Reformat metadata.json --- schemas/metadata.json | 56 ++++++++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/schemas/metadata.json b/schemas/metadata.json index 380e126dba..397dd8d6de 100644 --- a/schemas/metadata.json +++ b/schemas/metadata.json @@ -366,7 +366,9 @@ "submodules": { "description": "Use if the project (git only) has submodules - causes git submodule update --init --recursive to be executed after the source is cloned.", "type": "boolean", - "enum": [true] + "enum": [ + true + ] }, "sudo": { "description": "Specifies a script to be run using sudo bash -x -c \"xxxx\" in the Buildserver VM guest. This script is run with full root privileges, but the state will be reset after each build.", @@ -383,7 +385,9 @@ "oldsdkloc": { "description": "The sdk location in the repo is in an old format, or the build.xml is expecting such. The ’new’ format is sdk.dir while the VERY OLD format is sdk-location.", "type": "boolean", - "enum": [true] + "enum": [ + true + ] }, "target": { "description": "Specifies a particular SDK target for compilation, overriding the value defined in the code by upstream. This has different effects depending on what build system used — this flag currently affects Ant, Maven and Gradle projects only.", @@ -394,7 +398,9 @@ "anyOf": [ { "type": "string", - "enum": ["auto"] + "enum": [ + "auto" + ] }, { "type": "array", @@ -411,12 +417,16 @@ "forceversion": { "description": "If specified, the package version in AndroidManifest.xml is replaced with the version name for the build as specified in the metadata.", "type": "boolean", - "enum": [true] + "enum": [ + true + ] }, "forcevercode": { "description": "If specified, the package version code in the AndroidManifest.xml is replaced with the version code for the build. See also forceversion.", "type": "boolean", - "enum": [true] + "enum": [ + true + ] }, "rm": { "description": "Specifies the relative paths of files or directories to delete before the build is done.", @@ -455,7 +465,10 @@ "anyOf": [ { "type": "string", - "enum": ["yes", "no"] + "enum": [ + "yes", + "no" + ] }, { "type": "array", @@ -476,7 +489,9 @@ "type": "array", "items": { "type": "string", - "enum": ["yes"] + "enum": [ + "yes" + ] }, "maxItems": 1 }, @@ -496,7 +511,10 @@ }, { "type": "string", - "enum": ["yes", "yes@"] + "enum": [ + "yes", + "yes@" + ] } ] }, @@ -519,7 +537,9 @@ "novcheck": { "description": "Don’t check that the version name and code in the resulting APK are correct by looking at the build output - assume the metadata is correct.", "type": "boolean", - "enum": [true] + "enum": [ + true + ] }, "antifeatures": { "description": "List of Anti-Features for this specific build. They are described in AntiFeatures.", @@ -576,13 +596,13 @@ }, { "enum": [ - "None", - "Static", - "RepoManifest", - "RepoTrunk", - "Tags", - "HTTP" - ] + "None", + "Static", + "RepoManifest", + "RepoTrunk", + "Tags", + "HTTP" + ] } ] }, @@ -602,7 +622,9 @@ }, { "type": "string", - "enum": ["Ignore"] + "enum": [ + "Ignore" + ] } ] },