File tree Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 225225 "problemMatcher" : " $gcc"
226226 },
227227 {
228- "label" : " [Release] Publish AAR To Maven Local" ,
228+ "label" : " [Release] Publish AAR To Maven Local - Normal " ,
229229 "type" : " shell" ,
230230 "command" : " bash" ,
231231 "args" : [
232232 " vscode_tasks.sh" ,
233+ " --enable-cmake" ,
234+ " --enable-video-module" ,
233235 " --publish" ,
234236 ],
235237 "options" : {
236238 "cwd" : " ${workspaceFolder}"
237239 },
238240 "group" : " build" ,
239- "problemMatcher" : " $gcc" ,
240- "dependsOn" : [
241- " [Release] Enable CMake And Build Project With CMake"
242- ]
241+ "problemMatcher" : " $gcc"
242+ },
243+ {
244+ "label" : " [Release] Publish AAR To Maven Local - Disable Video Module" ,
245+ "type" : " shell" ,
246+ "command" : " bash" ,
247+ "args" : [
248+ " vscode_tasks.sh" ,
249+ " --enable-cmake" ,
250+ " --disable-video-module" ,
251+ " --publish" ,
252+ ],
253+ "options" : {
254+ "cwd" : " ${workspaceFolder}"
255+ },
256+ "group" : " build" ,
257+ "problemMatcher" : " $gcc"
243258 }
244259 ]
245260}
Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ while [[ $# > 0 ]]; do
172172 ;;
173173 --publish)
174174 echo " publish"
175+ git clean -fdx library
176+ changeProperty " local.properties" ' ^usingCMakeCompileDebug=' ' s/usingCMakeCompileDebug=.*/usingCMakeCompileDebug=false/' ' usingCMakeCompileDebug=false'
175177 changeProperty " local.properties" ' ^deployArtifacts=' ' s/deployArtifacts=.*/deployArtifacts=true/' ' disableVideoModule=true'
176178 ./gradlew assembleRelease publish
177179 shift
You can’t perform that action at this time.
0 commit comments