{
"apiType": "stageMode",
"buildOption": {
"resOptions": {
"compression": {
"media": {
"enable": true
},
"filters": [
{
"method": {
"type": "sut",
"blocks": "4x4"
},
"files": {
"path": [
"./src/main/resources"
],
"size": [
[0, '1000k']
],
},
"exclude": {
"path": ["./**/*.webp"],
"size": [[0, '1k']],
"resolution": [
[
{"width": 0, "height": 0},
{"width": 1024, "height": 1024}
],
[
{"width": 1024, "height": 1024},
{"width": 2048, "height": 2048}
],
[
{"width": 2048, "height": 2048}
]
]
}
}
]
}
}
},
"buildOptionSet": [
{
"name": "release",
"arkOptions": {
"obfuscation": {
"ruleOptions": {
"enable": false,
"files": [
"./obfuscation-rules.txt"
]
}
}
}
},
],
"targets": [
{
"name": "default"
},
{
"name": "ohosTest",
}
]
}