Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 104 for if (0.16 sec)

  1. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            return model.projectId + "_" + if (subProject.isNotEmpty()) shortenedSubprojectName else "${prefix}0"
        }
    
        private
        fun shortenSubprojectName(prefix: String, subProjectName: String): String {
            val shortenedSubprojectName = subProjectName.replace("internal", "i").replace("Testing", "T")
            if (shortenedSubprojectName.length + prefix.length <= 80) {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/promotion/BasePublishGradleDistribution.kt

                    synchronizeRevisions = false
                    onDependencyFailure = FailureAction.FAIL_TO_START
                    onDependencyCancel = FailureAction.FAIL_TO_START
                }
            }
    
            if (******@****.***sk != null) {
                steps {
                    buildStep(
                        ******@****.***arameters,
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 07 17:05:02 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    val errorproneExtension = project.extensions.create<ErrorProneProjectExtension>("errorprone", project.objects.listProperty<String>())
    errorproneExtension.disabledChecks.addAll(
        // DISCUSS
        "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals()
        "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason
    
        // NEVER
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

                }
                gradle.serviceOf<BuildEventsListenerRegistry>().onTaskCompletion(buildService)
                gradleRootProject.extensions.extraProperties.set("collectedInfo-${klass.simpleName}-${rootProjectName}", buildService.get().collectedInformation)
    
    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/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            Logging.getLogger(this.getClass()).lifecycle( "Parsed $counter classes in ${elapsedTime}")
        }
    
        def parse(File sourceFile, ClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData> repository) {
            if (!sourceFile.name.endsWith('.java')) {
                throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile")
            }
            try {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. Development.md

    # Development best practices
    
    This is a collection of best practices for Gradle implementation.
    Should and should not do's.
    
    ## Error messages and suggestions
    
    Traditionally, if an error occurred, the error message and the possible solution were provided to the console via a single String in the corresponding exception.
    That meant possible solutions for Problems could be scattered all over the console output.
    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)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            String commitId = BuildEnvironmentKt.getBuildEnvironmentExtension(project).getGitCommitId().get();
            if (commitId.isBlank() || commitId.toLowerCase().contains("unknown")) {
                // we can't figure out the commit ID (probably this is a source distribution build), let's skip adding source links
                return;
            }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            val expectedInstallationPaths = if (os == Os.WINDOWS) windowsPaths else linuxPaths
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. .cm/plugins/filters/isEnabledAutomation/index.js

                const checks = extractCheckNames(comment.content);
                if (checks.includes(automationName)) {
                    return true;
                }
            });
        }
    
        // If not found to be enabled by the above checks, check if enabled by user
        if (!result) {
            if (pr.author_is_org_member) {
                result = automationActivations.includes(pr.author);
            } else {
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

        if (dir.asFile.isDirectory) {
            for (cacheDir in dir.asFile.listFiles()) {
                val cacheDirName = cacheDir.name
                if (!cacheDirName.startsWith(dirPrefix) || !cacheDirName.endsWith(dirSuffix)) {
                    continue
                }
                val dirVersion = cacheDirName.removePrefix(dirPrefix).removeSuffix(dirSuffix)
                if (!dirVersion.matches(dirVersionPattern)) {
    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)
Back to top