Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for service (0.17 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/extension/TestFilesCleanupBuildServiceRootExtension.kt

    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)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

    fun DistributionTest.addSetUpAndTearDownActions() {
        cachesCleaner = cachesCleanerService
        gradle.rootBuild().sharedServices.registrations.findByName("daemonTracker")?.let {
            tracker = it.service
        }
    }
    
    fun DistributionTest.configureGradleTestEnvironment() {
        val taskName = name
    
        gradleInstallationForTest.apply {
            if (executerRequiresDistribution(taskName)) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Nov 28 20:40:40 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

    import org.gradle.tooling.events.task.TaskOperationResult
    import org.jlleitschuh.gradle.ktlint.tasks.GenerateReportsTask
    import java.io.Serializable
    import java.util.concurrent.CopyOnWriteArrayList
    
    /**
     * Register a build service that monitors compilation tasks and code quality tasks (Checkstyle/CodeNarc/ktlint)
     * and reports them as TeamCity build problems.
     */
    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)
  4. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            assertEquals(1, StringUtils.countMatches(result.output, "Found non-empty test files dir"))
            assertEquals(1, StringUtils.countMatches(result.output, "Failed to stop service 'testFilesCleanupBuildService'"))
            result.output.assertContains("successful-test-with-leftover/build/tmp/teŝt files/leftover")
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 14 12:35:52 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

    import org.gradle.tooling.events.task.TaskOperationResult
    import org.gradle.tooling.events.task.TaskSuccessResult
    import java.io.Serializable
    import java.util.concurrent.atomic.AtomicBoolean
    
    /**
     * Register a build service that monitors a list of tasks and reports CACHE_MISS if they're actually executed.
     */
    if (buildCacheEnabled()) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 07 05:49:29 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

        )
    }
    
    tasks.register<UpdateReleasedVersions>("updateReleasedVersionsToLatestNightly") {
        currentReleasedVersion = project.provider {
            val jsonText = URL("https://services.gradle.org/versions/nightly").readText()
            println(jsonText)
            val versionInfo = Gson().fromJson(jsonText, VersionBuildTimeInfo::class.java)
            ReleasedVersion(versionInfo.version, versionInfo.buildTime)
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Nov 29 10:17:36 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.internal.tasks.testing.junit.result.TestResultSerializer
    import org.gradle.api.provider.MapProperty
    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import org.gradle.internal.exceptions.DefaultMultiCauseException
    import org.gradle.tooling.events.FinishEvent
    import org.gradle.tooling.events.OperationCompletionListener
    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)
  8. architecture/build-state-model.md

    Not every module contributes to every element.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun May 05 22:45:11 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/extensions.kt

    /**
     * Align with build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
     */
    enum class KillProcessMode {
        KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS,
        KILL_PROCESSES_STARTED_BY_GRADLE,
        KILL_ALL_GRADLE_PROCESSES
    }
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. architecture/README.md

    Each process, or "runtime", applies different constraints to the code that runs in that process.
    For example, each process has different supported JVMs and a different set of services available for dependency injection.
    While a lot of Gradle source code runs only in the Gradle daemon, not all of it does and so, when working on some source code it is important to be aware of the runtimes in which it will run.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 06:42:46 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top