52 lines
1.0 KiB
Groovy
52 lines
1.0 KiB
Groovy
/*
|
|
*
|
|
* * Copyright © 2024 by Navi Technologies Limited
|
|
* * All rights reserved. Strictly confidential
|
|
*
|
|
*/
|
|
|
|
|
|
tasks.register('cleanNavi',Exec)
|
|
tasks.register('buildNavi',Exec)
|
|
|
|
|
|
tasks.named('cleanNavi') {
|
|
group = 'Build'
|
|
description = 'Cleans the project'
|
|
|
|
doFirst {
|
|
println("CleanNavi configuring")
|
|
}
|
|
workingDir = rootProject.projectDir
|
|
|
|
executable = './gradlew'
|
|
args 'clean',
|
|
'--no-configuration-cache',
|
|
'--info'
|
|
|
|
doLast {
|
|
println("CleanNavi execution completed")
|
|
}
|
|
}
|
|
|
|
tasks.named('buildNavi') {
|
|
group = 'Build'
|
|
description = 'Assembles and installs the QaDebug'
|
|
|
|
doFirst {
|
|
println("BuildNavi configuring")
|
|
}
|
|
workingDir = rootProject.projectDir
|
|
|
|
executable = './gradlew'
|
|
args ':app:assembleQaDebug',
|
|
':navi_hl_dynamic:assembleQaDebug',
|
|
':navi_pl_dynamic:assembleQaDebug',
|
|
'app:installQaDebug',
|
|
'--info'
|
|
|
|
doLast {
|
|
println("BuildNavi execution completed")
|
|
}
|
|
}
|