Reformat metadata.json

This commit is contained in:
FestplattenSchnitzel 2021-12-20 10:35:58 +01:00
parent 22dbec00fb
commit 18cbdecf37

View file

@ -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": "Dont 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"
]
}
]
},