Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 230 for if (0.14 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    if (!oldNullability && newNullability) {
                        errors << "From non-nullable to nullable breaking change"
                    } else if (oldNullability && !newNullability) {
                        warnings << "Nullability changed from nullable to non-nullable"
                    }
                } else if (oldNullability != newNullability) {
                    errors << "Nullability breaking change"
                }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

                while (!scanner.isEmpty()) {
                    if (scanner.lookingAt(START_HTML_COMMENT)) {
                        skipComment();
                        continue;
                    }
                    if (scanner.lookingAt(HTML_ELEMENT)) {
                        break;
                    }
                    if (scanner.lookingAt(TAG)) {
                        break;
                    }
                    if (scanner.lookingAt(HTML_ENCODED_CHAR)) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                Element override = findChild(element, "overrides");
                if (override != null) {
                    element.removeChild(override);
                    inheritedValueTitleMapping.put(override.getTextContent(), element);
                }
                Node firstChild = element.getFirstChild();
                if (firstChild instanceof Text) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        REPO=$dir
        if [ -e ${'$'}REPO ] ; then
            tree ${'$'}REPO
            rm -rf ${'$'}REPO
            echo "${'$'}REPO was polluted during the build"
            ${if (exitOnFailure) "exit 1" else ""}
        else
            echo "${'$'}REPO does not exist"
        fi
    
    """.trimIndent()
    
    fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """
        IF exist $dir (
            TREE $dir
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. .github/workflows/CheckBadMerge.groovy

     * e.g https://github.com/gradle/gradle/pull/25825
     *
     * This script is to check if there is any merge commit that brings changes from release branch to master.
     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    class CheckBadMerge {
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

            if (currentlyBuilding.contains(className)) {
                throw new RuntimeException("Cycle building $className. Currently building $currentlyBuilding")
            }
            currentlyBuilding.addLast(className)
            try {
                ClassMetaData classMetaData = classMetaData.find(className)
                if (!classMetaData) {
                    if (!className.contains('.internal.')) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  7. .cm/lacks_tests.cm

    # Each automation has an `if` key that defines conditions to run the automation,
    # as well as a `run` key with the actions to do. All the conditions need to be true
    # for the actions to run (there is an implicit AND relation between
    # the conditions on each line).  Each condition is specified as a Jinja expression.  You
    # can also use the constant `true` if you want to always run the actions.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

            if (wildcard) {
                return;
            }
            if (upperBounds != null) {
                upperBounds.visitTypes(action);
                return;
            }
            if (lowerBounds != null) {
                lowerBounds.visitTypes(action);
                return;
            }
    
            action.execute(this);
            if (typeArgs != null) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

                    if (metaDataRepository.find(candidateClassName) != null) {
                        return candidateClassName;
                    }
                    if (importedClass.startsWith("java.") && isVisibleSystemClass(candidateClassName)) {
                        return candidateClassName;
                    }
                } else if (name.equals(baseName)) {
                    return importedClass;
                }
            }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  10. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            when {
                descriptor.language === Language.CPP -> {
                    exampleClass = if (descriptor.componentType === ComponentType.LIBRARY) "Hello" else "Greeter"
                    sourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + ".cpp"
                    testSourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + "_test.cpp"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 17:51:21 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top