Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shouldInclude (0.07 sec)

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

        private val failedTaskPaths = CopyOnWriteArrayList<String>()
        override val collectedInformation: Serializable = failedTaskPaths
    
        override fun shouldInclude(taskPath: String): Boolean {
            // https://github.com/gradle/gradle/issues/21351
            return super.shouldInclude(taskPath) || taskPath.contains("detekt")
        }
    
        override fun action(taskPath: String, taskResult: TaskOperationResult) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jun 20 08:07:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

            if (event !is TaskFinishEvent) {
                return
            }
    
            val taskPath = event.descriptor.taskPath
            if (shouldInclude(taskPath)) {
                action(taskPath, event.result)
            }
        }
    
        protected open fun shouldInclude(taskPath: String): Boolean = parameters.monitoredTaskPaths.get().contains(taskPath)
    
        abstract fun action(taskPath: String, taskResult: TaskOperationResult)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 07:01:27 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                if (endIndex > 0) {
                    val packageName = zipEntry.name.substring(0, endIndex)
                    if (shouldInclude(packageName, excludes, includes)) {
                        builder.addWord(packageName)
                    }
                }
            }
    
            private
            fun shouldInclude(packageName: String, excludes: List<String>, includes: List<String>): Boolean {
                for (exclude in excludes) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top