Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for Requires (0.2 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/Requires.java

     *
     * @see RequiresExtension
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ElementType.METHOD, ElementType.TYPE})
    @Inherited
    @ExtensionAnnotation(RequiresExtension.class)
    public @interface Requires {
    
        /**
         * The list of preconditions, which will be checked by {@link RequiresExtension}
         */
        Class<? extends TestPrecondition>[] value();
    
        String reason() default "";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue47818.go

    }
    
    func f[P /* ERROR "type parameter requires go1.18 or later" */ any /* ERROR "predeclared any requires go1.18 or later" */](x P) {
    	var _ T[ /* ERROR "type instantiation requires go1.18 or later" */ int]
    	var _ (T[ /* ERROR "type instantiation requires go1.18 or later" */ int])
    	_ = T[ /* ERROR "type instantiation requires go1.18 or later" */ int]{}
    	_ = T[ /* ERROR "type instantiation requires go1.18 or later" */ int](struct{}{})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. guava/module.json

            {
              "group": "com.google.guava",
              "module": "failureaccess",
              "version": {
                "requires": "1.0.2"
              }
            },
            {
              "group": "com.google.guava",
              "module": "listenablefuture",
              "version": {
                "requires": "9999.0-empty-to-avoid-conflict-with-guava"
              }
            },
            {
              "group": "com.google.code.findbugs",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 17 18:11:49 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/RequiresExtension.groovy

         */
        void visitAnnotation(Requires annotation, SpecElementInfo specOfFeature) {
            List<Class> predicateClassNames = annotation.value() as List<Class>
    
            if (specOfFeature.parent instanceof SpecInfo) {
                predicateClassNames += (specOfFeature.parent as SpecInfo).getAnnotationsByType(Requires)
                    .collect { (it as Requires).value() }
                    .flatten() as List<Class>
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_get_exec_toolchain.txt

    stderr 'rsc.io/needgo122@v0.0.1 requires go >= 1.22'
    stderr 'rsc.io/needgo123@v0.0.1 requires go >= 1.23'
    stderr 'rsc.io/needall@v0.0.1 requires go >= 1.23'
    stderr 'requires go >= 1.23'
    ! stderr 'requires go >= 1.21' # that's us!
    cmp go.mod go.mod.new
    
    # go get go@1.22 should resolve to the latest 1.22
    env GOTOOLCHAIN=local
    cp go.mod.new go.mod
    ! go get go@1.22
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_download_exec_toolchain.txt

    ! stderr switching
    stderr 'rsc.io/needgo122@v0.0.1 requires go >= 1.22'
    stderr 'rsc.io/needgo123@v0.0.1 requires go >= 1.23'
    stderr 'rsc.io/needall@v0.0.1 requires go >= 1.23'
    stderr 'requires go >= 1.23'
    ! stderr 'requires go >= 1.21' # that's us!
    
    
    # JSON output should be emitted exactly once,
    # and non-JSON output should go to stderr instead of stdout.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/test/JavaModuleBackboxTestExcutionIntegrationTest.groovy

                dependencies { testImplementation 'junit:junit:4.13' }
            """
    
            when:
            consumingModuleInfo('exports consumer')
            consumingModuleClass()
            testModuleInfo('requires consumer', 'requires junit')
            testModuleClass('org.junit.Assert.assertEquals("consumer", consumer.MainModule.class.getModule().getName())')
    
            then:
            succeeds ':test'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/plugins/jvm/internal/JvmEcosystemAttributesDetails.java

        /**
         * Provides or requires a library
         */
        JvmEcosystemAttributesDetails library();
    
        /**
         * Provides or requires a library with specific elements.
         * See {@link org.gradle.api.attributes.LibraryElements} for possible values.
         */
        JvmEcosystemAttributesDetails library(String elementsType);
    
        /**
         * Provides or requires a platform
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/application/src/main/java/module-info.java

    module org.gradle.sample.app {
        exports org.gradle.sample.app;
        opens org.gradle.sample.app.data; // allow Gson to access via reflection
    
        requires com.google.gson;
        requires org.apache.commons.lang3;
        requires org.apache.commons.cli;
        requires org.apache.commons.beanutils;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 295 bytes
    - Viewed (0)
  10. test/fixedbugs/issue31747.go

    // numeric literals
    const (
    	_ = 1_000 // ERROR "underscore in numeric literal requires go1.13 or later \(-lang was set to go1.12; check go.mod\)|requires go1.13"
    	_ = 0b111 // ERROR "binary literal requires go1.13 or later"
    	_ = 0o567 // ERROR "0o/0O-style octal literal requires go1.13 or later"
    	_ = 0xabc // ok
    	_ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later"
    
    	_ = 0b111 // ERROR "binary"
    	_ = 0o567 // ERROR "octal"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top