forked from MarathonLabs/marathon
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move listeners from MarathonExtension to a singleton object
- Loading branch information
Sergey Chelombitko
committed
Aug 3, 2024
1 parent
7c19e17
commit f346181
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
marathon-gradle-plugin/src/main/kotlin/com/malinskiy/marathon/MarathonListenerHolder.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.malinskiy.marathon | ||
|
||
import com.malinskiy.marathon.analytics.internal.pub.Tracker | ||
import com.malinskiy.marathon.execution.MarathonListener | ||
|
||
object MarathonListenerHolder { | ||
var analyticsTracker: Tracker? = null | ||
var listener: MarathonListener? = null | ||
} |