Skip to content

Commit 4a7597c

Browse files
vtrifonovvmutafov
authored andcommitted
fix:moved outLogger init to buildscript/initialize (#1477)
1 parent 8f4d6ba commit 4a7597c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-app/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import static org.gradle.internal.logging.text.StyledTextOutput.Style
3333
apply plugin: "com.android.application"
3434
apply from: "gradle-helpers/BuildToolTask.gradle"
3535
apply from: "gradle-helpers/CustomExecutionLogger.gradle"
36-
def outLogger = services.get(StyledTextOutputFactory).create("colouredOutputLogger")
3736

3837
def enableKotlin = (project.hasProperty("useKotlin") && project.useKotlin == "true")
3938

@@ -105,6 +104,7 @@ version of the {N} CLI install a previous version of the runtime package - 'tns
105104
project.ext.nativescriptDependencies = new JsonSlurper().parseText(dependenciesJson.text)
106105
project.ext.PLATFORMS_ANDROID = "platforms/android"
107106
project.ext.USER_PROJECT_ROOT = "$rootDir/../.."
107+
project.ext.outLogger = services.get(StyledTextOutputFactory).create("colouredOutputLogger")
108108

109109
project.ext.getAppPath = { ->
110110
def relativePathToApp = "app"

0 commit comments

Comments
 (0)