97 lines
2.3 KiB
JSON
97 lines
2.3 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "AppSignKey",
|
|
"type": "shell",
|
|
"command": "keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias",
|
|
"windows": {
|
|
"command": "cd gitoscandroid; del my-release-key.jks; keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias"
|
|
},
|
|
"group": "test",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
}
|
|
},
|
|
{
|
|
"label": "CleanApp",
|
|
"type": "shell",
|
|
"command": "${workspaceRoot}/gradlew clean",
|
|
"windows": {
|
|
"command": "${workspaceRoot}\\gradlew.bat clean "
|
|
},
|
|
"group": "test",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
}
|
|
},
|
|
{
|
|
"label": "BuildDebugApp",
|
|
"type": "shell",
|
|
"command": "${workspaceRoot}/gradlew assembleDebug ",
|
|
"windows": {
|
|
"command": "${workspaceRoot}\\gradlew.bat assembleDebug "
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "InstallDebugApp",
|
|
"type": "shell",
|
|
"command": "${workspaceRoot}/gradlew installDebug ",
|
|
"windows": {
|
|
"command": "${workspaceRoot}\\gradlew.bat installDebug "
|
|
},
|
|
"group": "test",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
}
|
|
},
|
|
{
|
|
"label": "InstallReleaseApp",
|
|
"type": "shell",
|
|
"command": "${workspaceRoot}/gradlew installRelease ",
|
|
"windows": {
|
|
"command": "${workspaceRoot}\\gradlew.bat installRelease "
|
|
},
|
|
"group": "test",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
}
|
|
},
|
|
{
|
|
"label": "RunDebugApp",
|
|
"type": "shell",
|
|
"command": "adb shell am start com.cege.games.release/.MainActivity",
|
|
"windows": {
|
|
"command": "adb shell am start com.cege.games.release/.MainActivity "
|
|
},
|
|
"group": "test",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
},
|
|
{
|
|
"label": "ShowDebugLogcat",
|
|
"type": "shell",
|
|
"command": "adb logcat '*:V AudioManagerExtImpl:S' -b all -v color --pid=$(adb shell pidof -s com.cege.games.release)",
|
|
"group": "test",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
},
|
|
{
|
|
"label": "Build&Run",
|
|
"dependsOrder": "sequence",
|
|
"dependsOn": ["BuildDebugApp", "InstallDebugApp", "RunDebugApp", "ShowDebugLogcat"]
|
|
}
|
|
]
|
|
} |