Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for collect (0.15 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

    Bo Zhang <******@****.***> 1660200971 +0800
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 07:01:27 GMT 2022
    - 2.3K bytes
    - Viewed (1)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

    import java.io.Serializable
    
    /**
     * A BuildService which monitors a few tasks (in both build-logic and main build) and collects information for build scan.
     * It's currently implemented by two use cases:
     * 1. Collect cache misses for compilation tasks and publish a `CACHE_MISS` tag for build scan.
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 07:01:27 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            parameters.projectStates.get().values.forEach { projectExtension ->
                cleanUp(projectExtension.tmpExtractedResourcesDirs())
            }
    
            // Second run: collect and archive leftover files
            parameters.projectStates.get().forEach { (projectPath: String, projectExtension: TestFileCleanUpExtension) ->
                val tmpTestFiles = projectExtension.tmpTestFiles()
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

    /**
     * In build-logic and main build, register a BuildService instance separately,
     * which collects necessary information for build scan.
     */
    fun <T : AbstractBuildScanInfoCollectingService> Project.registerBuildScanInfoCollectingService(
        /* the implementation class to collect information from task execution result */
        klass: Class<T>,
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/extension/TestFilesCleanupBuildServiceRootExtension.kt

    import org.gradle.api.provider.MapProperty
    import org.gradle.api.provider.Property
    import java.io.File
    
    
    /**
     * An extension to work with {@see TestFilesCleanupService}.
     * We have to collect all information we need in this extension and pass them
     * to the build service.
     */
    interface TestFilesCleanupBuildServiceRootExtension {
        val projectStates: MapProperty<String, TestFilesCleanupProjectState>
    
        /**
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Aug 22 08:53:41 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  6. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

                }
            }
            val buildFileComments = comments.values.first().stream().map { c: String -> "<" + (comments.values.first().indexOf(c) + 1) + "> " + c }.collect(Collectors.joining("\n"))
            val testFrameworkChoice = if (descriptor.testFrameworks.size > 1) """
    Select test framework:
      1: JUnit 4
      2: TestNG
      3: Spock
      4: JUnit Jupiter
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 17:51:21 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  7. build-logic/build.gradle.kts

    plugins {
        id("gradlebuild.collect-failed-tasks")
        id("gradlebuild.cache-miss-monitor")
    }
    
    description = "Provides plugins that are used by Gradle subprojects"
    
    tasks.register("check") {
        dependsOn(subprojects.map { "${it.name}:check" })
    }
    
    val clean by tasks.registering {
        val buildLogicPropertiesFile = layout.projectDirectory.file("gradle.properties")
        val rootPropertiesFile = layout.projectDirectory.file("../gradle.properties")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jan 24 02:52:56 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  8. Development.md

    The idea is to provide a list of suggestions for a problem in the console output.
    The suggestions are displayed in the separate "Try"- section of the console output.
    The suggestions are collected in the `BuildExceptionReporter` and printed to the console.
    
    In some cases, you still want to keep the old behavior and display the suggestions in the error message.
    
    ### Add custom suggestions
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 22:54:40 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            configureKotlinCompilerIoForWindowsSupport()
            val configuration = CompilerConfiguration().apply {
    
                put(CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY, messageCollector)
                put(JVMConfigurationKeys.RETAIN_OUTPUT_IN_MEMORY, false)
                put(JVMConfigurationKeys.DISABLE_OPTIMIZATION, true)
                put(CommonConfigurationKeys.MODULE_NAME, "parser")
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

        description = 'Cleans up all existing accepted API changes.'
        jsonFile = apiChangesJsonFile.asFile
    }
    
    static List<String> toPatterns(List<String> packages) {
        packages.collect {
            it.replaceAll('\\*\\*', '###')
                .replaceAll('/\\*', '/[A-Z][a-z_A-Z0-9]+')
                .replaceAll('$', '\\$')
                .replaceAll('/', '[.]')
                .replaceAll('###', '.*?')
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top