File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ def computeBuildToolsVersion = { ->
86
86
def enableAnalytics = (project. hasProperty(" gatherAnalyticsData" ) && project. gatherAnalyticsData == " true" )
87
87
def analyticsFilePath = " $rootDir /analytics/build-statistics.json"
88
88
def analyticsCollector = project.ext.AnalyticsCollector . withOutputPath(analyticsFilePath)
89
- if (enableKotlin && enableAnalytics) {
90
- analyticsCollector. markHasUseKotlinPropertyInApp( )
89
+ if (enableAnalytics) {
90
+ analyticsCollector. markUseKotlinPropertyInApp(enableKotlin )
91
91
analyticsCollector. writeAnalyticsFile()
92
92
}
93
93
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ class AnalyticsCollector{
19
19
return new AnalyticsCollector (analyticsFilePath)
20
20
}
21
21
22
- void markHasUseKotlinPropertyInApp ( ) {
23
- hasUseKotlinPropertyInApp = true
22
+ void markUseKotlinPropertyInApp ( boolean useKotlin ) {
23
+ hasUseKotlinPropertyInApp = useKotlin
24
24
}
25
25
26
26
void writeAnalyticsFile () {
@@ -45,4 +45,4 @@ class AnalyticsCollector{
45
45
}
46
46
}
47
47
48
- ext.AnalyticsCollector = AnalyticsCollector
48
+ ext.AnalyticsCollector = AnalyticsCollector
You can’t perform that action at this time.
0 commit comments