Skip to content

Commit 3adb61e

Browse files
authored
Update build.gradle
1 parent 5cba191 commit 3adb61e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-app/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ def computeBuildToolsVersion = { ->
8686
def enableAnalytics = (project.hasProperty("gatherAnalyticsData") && project.gatherAnalyticsData == "true")
8787
def analyticsFilePath = "$rootDir/analytics/build-statistics.json"
8888
def analyticsCollector = project.ext.AnalyticsCollector.withOutputPath(analyticsFilePath)
89-
if (enableKotlin && enableAnalytics) {
90-
analyticsCollector.markHasUseKotlinPropertyInApp()
89+
if (enableAnalytics) {
90+
analyticsCollector.markUseKotlinPropertyInApp(enableKotlin)
9191
analyticsCollector.writeAnalyticsFile()
9292
}
9393

0 commit comments

Comments
 (0)