DEV Community

Query Filter
Query Filter

Posted on

bridge11

// Update this block in your build.gradle
def getAgentArgs = { 
    // We use .replace('\\', '\\\\') to make the path Java-safe
    def targetPath = profilerConfig.targetClassesFile.absolutePath.replace('\\', '\\\\')
    def outputPath = profilerConfig.outputDir.absolutePath.replace('\\', '\\\\')

    return "${targetPath};${profilerConfig.intervalSeconds};${outputPath}"
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)