@@ -19,15 +19,15 @@ version = '0.0.1-SNAPSHOT'
19
19
20
20
task cleanAngular {
21
21
if (project. hasProperty(' withAngular' )) {
22
- logger . info (' Task cleanAngular' )
22
+ println (' Task cleanAngular' )
23
23
delete(' src/angular/node_modules' )
24
24
}
25
25
}
26
26
27
27
task buildAngular {
28
28
if (project. hasProperty(' withAngular' )) {
29
29
exec {
30
- logger . info (' Task buildAngular - npm install' )
30
+ println (' Task buildAngular - npm install' )
31
31
workingDir ' src/angular'
32
32
if (System . getProperty(" os.name" ). toUpperCase(). contains(" WINDOWS" )){
33
33
commandLine(' npm.cmd' , ' install' )
@@ -36,7 +36,7 @@ task buildAngular {
36
36
}
37
37
}
38
38
exec {
39
- logger . info (' Task buildAngular - npm run build' )
39
+ println (' Task buildAngular - npm run build' )
40
40
workingDir ' src/angular'
41
41
if (System . getProperty(" os.name" ). toUpperCase(). contains(" WINDOWS" )){
42
42
commandLine(' npm.cmd' , ' run' , ' build' )
@@ -52,11 +52,11 @@ task testAngular {
52
52
exec {
53
53
workingDir ' src/angular'
54
54
if (System . getProperty(" os.name" ). toUpperCase(). contains(" WINDOWS" )){
55
- logger . info (' Task buildAngular - npm run test' )
55
+ println (' Task buildAngular - npm run test' )
56
56
commandLine(' npm.cmd' , ' run' , ' test' )
57
57
} else {
58
58
if (project. hasProperty(" useChromium" )) {
59
- logger . info (' Task buildAngular - npm run test-chromium' )
59
+ println (' Task buildAngular - npm run test-chromium' )
60
60
commandLine(' npm' , ' run' , ' test-chromium' )
61
61
} else {
62
62
logger. info(' Task buildAngular - npm run test' )
0 commit comments