INNER CODE UNIT · Swift

launchGradleProcess

skiptools/skip · Sources/SkipDrive/GradleDriver.swift:120

    public func launchGradleProcess(in workingDirectory: URL?, buildFolder: String = ".build", module: String?, actions: [String], arguments: [String], environment: [String: String] = ProcessInfo.processInfo.environmentWithDefaultToolPaths, daemon enableDaemon: Bool = true, info infoFlag: Bool = false, quiet quietFlag: Bool = false, plain plainFlag: Bool = true, maxMemory: UInt64? = nil, failFast failFastFlag: Bool = false, noBuildCache noBuildCacheFlag: Bool = false, continue continueFlag: Bool = false, offline offlineFlag: Bool = false, rerunTasks rerunTasksFlag: Bool = true, exitHandler: @escaping (ProcessResult) throws -> ()) async throws -> (output: AsyncLineOutput, result: () throws -> ParsedTestResults) {


        var args = actions + arguments

        var env: [String: String] = environment

        // add in the project dir for explicitness (even though it is assumed from the current working directory as well)
        if let workingDirectory = workingDirectory {
            args += ["--project-dir", workingDirectory.path]
        }

        // this enables reporting on deprecated features
        args += ["--warning-mode", "all"]

        var testResultFolders: [URL] = []

        if let module = module {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…