Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for Basile (0.22 sec)

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

     */
    fun FileSystemOperations.removeOldVersionsFromDir(dir: Directory, shouldDelete: Spec<GradleVersion>, dirPrefix: String = "", dirSuffix: String = "") {
        if (dir.asFile.isDirectory) {
            for (cacheDir in dir.asFile.listFiles()) {
                val cacheDirName = cacheDir.name
                if (!cacheDirName.startsWith(dirPrefix) || !cacheDirName.endsWith(dirSuffix)) {
                    continue
                }
    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-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        private
        val taskPathReports: Map<String, List<File>>
            get() = parameters.taskPathToReports.get()
    
        private
        val rootBuildDir: File
            get() = parameters.rootBuildDir.get().asFile
    
        private
        val testPathToBinaryResultsDirs: Map<String, File>
            get() = parameters.testPathToBinaryResultsDirs.get()
    
        override fun onFinish(event: FinishEvent) {
    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)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    
    fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) {
        this
    } else {
        val parent = dir("..")
        when {
            parent.file("version.txt").asFile.exists() -> parent
            this == parent -> throw IllegalStateException("Cannot find 'version.txt' file in root of repository")
            else -> parent.parentOrRoot()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  4. .teamcity/README.md

    ## How the configuration works
    
    We use Kotlin portable DSL to store TeamCity configuration, which means you can easily create a new pipeline
    based on a specific branch. Currently, we have two pipelines: `master` and `release`, but you can easily create
    and test another isolated pipeline from any branch. 
    
    We'll explain everything via an example. Let's say you make some changes on your branch `myTestBranch`
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

            val unixScriptFile = startScriptsDir.file("gradle").get().asFile
            generator.generateUnixScript(unixScriptFile)
            unixScriptFile.injectAgentOptions(TextUtil.getUnixLineSeparator())
    
            val windowsScriptFile = startScriptsDir.file("gradle.bat").get().asFile
            generator.generateWindowsScript(windowsScriptFile)
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckSubprojectsInfo.kt

    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class CheckSubprojectsInfo : SubprojectsInfo() {
    
        @TaskAction
        fun checkSubprojectsInfo() {
            if (subprojectsJson.asFile.readText() != generateSubprojectsJson()) {
                throw GradleException(
                    "New project(s) added without updating subproject JSON. Please run `:${GenerateSubprojectsInfo.TASK_NAME}` task."
                )
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  7. build-logic/jvm/src/main/kotlin/gradlebuild.api-parameter-names-index.gradle.kts

            moduleIdentity.baseName.map { "generated-resources/$it-parameter-names/$it-parameter-names.properties" }
        )
    }
    
    main.output.dir(
        parameterNamesIndex.map { it.destinationFile.get().asFile.parentFile }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

            }
        }
    
        private
        fun buildErrorMessage(formattedMismatches: String): String {
            return "API changes in file '${apiChangesFile.get().asFile.name}' should be in alphabetical order (by type and member), yet these changes were not:\n" +
                "$formattedMismatches\n" +
                "\n" +
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

        @get:PathSensitive(PathSensitivity.NONE)
        abstract val apiChangesFile: RegularFileProperty
    
        protected
        fun loadChanges(): List<AcceptedApiChange> {
            val jsonString = apiChangesFile.get().asFile.readText()
            val json = Gson().fromJson(jsonString, AcceptedApiChanges::class.java)
            return json.acceptedApiChanges!!
        }
    
        /**
         * Sorts the given list of [AcceptedApiChange]s by type and member.
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

        @TaskAction
        fun execute() {
            val sortedChanges = sortChanges(loadChanges())
            val json = formatChanges(sortedChanges)
            apiChangesFile.asFile.get().bufferedWriter().use { out -> out.write(json) }
        }
    
        private
        fun formatChanges(changes: List<AbstractAcceptedApiChangesMaintenanceTask.AcceptedApiChange>): String {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
Back to top