Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 375 for Require (0.23 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            'method'      | 'jApiMethod'
            'field'       | 'jApiField'
            'constructor' | 'jApiConstructor'
        }
    
        def "if a type is annotated with @Incubating a new #apiElement does not require it"() {
            given:
            JApiCompatibility jApiType = getProperty(jApiTypeName)
    
            when:
            this.jApiClassifier.annotations >> [incubatingAnnotation]
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

    import org.gradle.kotlin.dsl.*
    import org.gradle.kotlin.dsl.support.serviceOf
    import java.io.File
    
    
    class TestFilesCleanupRootPlugin : Plugin<Project> {
        override fun apply(project: Project) {
            require(project.rootProject == project) { "This plugin should be applied to root project!" }
            val globalExtension = project.extensions.create<TestFilesCleanupBuildServiceRootExtension>("testFilesCleanupRoot")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Jul 06 10:57:13 GMT 2023
    - 3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

     *
     * Current implementation extracts these from the wrapper's API jars.
     * This is not correct as it should do this with the built distribution instead.
     *
     * Doing it correctly would require running a Gradle build with the full
     * distribution and extracting the generated api jar from its Gradle user home,
     * slowing down building documentation.
     *
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Mar 19 17:15:23 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. .cm/complex_changes.cm

      - commit
      - comment_added
    
    automations:
    
      # If a PR is very complex, require 2 approvals
      complex_changes:
        if:
          - {{ ('complex_changes' | isEnabledAutomation(pr)) }}
          - {{ branch | estimatedReviewTime >= 40 }}
          - {{ files | length >= 35 }}
          - {{ includes_src_changes }}
        run:
          - action: set-required-approvals@v1
            args:
              approvals: 2
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. .cm/plugins/filters/isEnabledAutomation/index.js

    const enabled = new Map();
    
    // Require Opt-In/User Request/Community PR
    enabled.set('includes_todos', ['community', 'tresat']);
    enabled.set('javadoc_on_new_files', ['community', 'tresat']);
    enabled.set('lacks_tests', ['community', 'tresat']);
    enabled.set('summary_table_owners', ['tresat']);
    enabled.set('summary_table_platforms', ['community', 'tresat']);
    
    // Require Opt-In/User Request
    enabled.set('code_experts', []);
    
    // Always run
    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)
  6. .github/dco.yml

    # Disable sign-off checking for members of the Gradle GitHub organization
    require:
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Aug 11 00:03:28 GMT 2018
    - 100 bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            findLatest("junit-jupiter", "org.junit.jupiter:junit-jupiter-api:(5,)", versionProperties)
            findLatest("testng", "org.testng:testng:(6.0,7.6.0)", versionProperties) // TestNG 7.6.0 and above require JDK 11; see https://groups.google.com/g/testng-users/c/BAFB1vk-kok
            findLatest("slf4j", "org.slf4j:slf4j-api:(1.7,)", versionProperties)
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 11:19:07 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

                    if (matchResult == null) {
                        null
                    } else {
                        (matchResult.groupValues[1].toInt() - 4).apply {
                            require(this in 2..23)
                        }
                    }
                }
            }
        }
    
        val isMainBranch: Boolean
            get() = isMaster || isRelease
        val isMaster: Boolean
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/extensions.kt

        doesNotContain("teamcity.agent.name", "EC2")
    }
    
    /**
     * We have some "shared" host where a Linux build agent and a Windows build agent
     * both run on the same bare metal. Some builds require exclusive access to the
     * hardware resources (e.g. performance test).
     */
    fun Requirements.requiresNotSharedHost() {
        doesNotContain("agent.host.type", "shared")
    }
    
    /**
    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. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

                    || candidateVersion.version.endsWith("-snapshot-1")
            }
    
            // Remove state for old versions of Gradle that we're unlikely to ever require again
            fileSystemOperations.removeOldVersionsFromDir(workerDir.dir("caches"), expireDistributionCache)
    
            // Remove scripts caches
            fileSystemOperations.removeCachedScripts(workerDir.dir("caches").asFile)
    
    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)
Back to top