Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Cleanup (0.29 sec)

  1. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    // To make it easier to access these functions from Groovy
    @file:JvmName("Cleanup")
    
    package gradlebuild.cleanup
    
    import org.gradle.api.file.Directory
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.logging.Logging
    import org.gradle.api.specs.Spec
    import org.gradle.kotlin.dsl.*
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. build-logic/cleanup/src/main/kotlin/gradlebuild.cleanup.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.repoRoot
    import gradlebuild.cleanup.services.DaemonTracker
    
    gradle.sharedServices.registerIfAbsent("daemonTracker", DaemonTracker::class) {
        parameters.rootProjectDir = repoRoot()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 828 bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                    }
                }
            }
            return containingFailures
        }
    
        /**
         * After archiving the test files, do a cleanup to get rid of TeamCity "XX published a lot of small artifacts" warning.
         */
        private
        fun cleanUp(filesToCleanUp: Collection<File>) {
            try {
                fileSystemOperations.delete {
                    delete(*filesToCleanUp.toTypedArray())
                }
    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. .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)
  5. build-logic/integration-testing/build.gradle.kts

            }
        }
    }
    
    dependencies {
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    
        implementation(project(":cleanup"))
        implementation(project(":dependency-modules"))
    
        testImplementation("junit:junit")
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Sat Jan 06 17:21:17 GMT 2024
    - 675 bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.repoRoot
    import gradlebuild.cleanup.services.CachesCleaner
    import gradlebuild.integrationtests.extension.IntegrationTestExtension
    import gradlebuild.integrationtests.setSystemPropertiesOfTestJVM
    import gradlebuild.integrationtests.tasks.DistributionTest
    
    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)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

     * limitations under the License.
     */
    
    package gradlebuild.cleanup.services
    
    import gradlebuild.cleanup.removeCachedScripts
    import gradlebuild.cleanup.removeDaemonLogFiles
    import gradlebuild.cleanup.removeDodgyCacheFiles
    import gradlebuild.cleanup.removeOldVersionsFromDir
    import gradlebuild.cleanup.removeTransformDir
    import org.gradle.api.file.Directory
    import org.gradle.api.file.DirectoryProperty
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            injectAnnotation.fullyQualifiedName >> Inject.name
    
            repository = BinaryCompatibilityRepository.openRepositoryFor([new File(tmp.absolutePath)], [])
        }
    
        def cleanup() {
            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  9. .github/workflows/codeql-analysis.yml

          if: ${{ matrix.language == 'java' && github.repository_owner != 'gradle' }}
          run: ./gradlew --no-configuration-cache --init-script .github/workflows/codeql-analysis.init.gradle -S testClasses
    
        - name: Cleanup Gradle Daemons
          run: ./gradlew --stop
          if: ${{ matrix.language == 'java' }}
    
        # ℹī¸ Command-line programs to run using the OS shell.
        # 📚 https://git.io/JvXDl
    
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

    import static java.util.regex.Pattern.quote;
    
    /**
     * NOTICE: this class is invoked via java command line, so we must NOT DEPEND ON ANY 3RD-PARTY LIBRARIES except JDK 11.
     *
     * Usage: java build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
     */
    public class KillLeakingJavaProcesses {
        enum ExecutionMode {
            /**
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top