Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,012 for addLine (0.4 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/groovy/build.gradle

                        }
                        withFiles {
                            removeAllFiles()
                            addFile("guava-$version-${jarName}.jar", "../$version-$jarName/guava-$version-${jarName}.jar")
                        }
                    }
                }
            }
        }
    }
    // end::guava-rule[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  2. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenScopesTestIntegTest.groovy

                        }
                    }
                }
    
                dependencies {
                    custom 'log4j:log4j:1.2.17'
                }
            """
        }
    
        def "test adding custom variant with dependency mapped to Maven runtime scope"() {
            given:
            buildFile << """
                components.java.addVariantsFromConfiguration(configurations.custom) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/plugins/PluginsBlockSchema.kt

        val specs: List<MutablePluginDependencySpec>
            get() = _specs
    
        private
        val _specs = mutableListOf<MutablePluginDependencySpec>()
    
        @Adding
        override fun id(id: String): MutablePluginDependencySpec = MutablePluginDependencySpec(id).also(_specs::add)
    
        @Adding
        fun kotlin(id: String) = id("org.jetbrains.kotlin.$id")
    }
    
    
    class MutablePluginDependencySpec(
        val id: String
    ) : PluginDependencySpec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt

        @get:Restricted
        abstract var superClassProp: SuperClass
    
        @get:Restricted
        abstract var superInterfaceProp: SuperInterface
    
        @Adding
        abstract fun addSuperClass(superclass: SuperClass)
    
        @Adding
        abstract fun addSuperInterface(superclass: SuperInterface)
    
        @Restricted
        abstract fun sub(): Subtype
    
        @Restricted
        abstract fun notASub(): NotASubtype
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/demoTypes.kt

    package org.gradle.internal.declarativedsl.demo.demoPlugins
    
    import org.gradle.declarative.dsl.model.annotations.Adding
    import org.gradle.declarative.dsl.model.annotations.Builder
    import org.gradle.declarative.dsl.model.annotations.Configuring
    import org.gradle.declarative.dsl.model.annotations.HasDefaultValue
    import org.gradle.declarative.dsl.model.annotations.Restricted
    
    
    class TopLevelScope {
        @get:Restricted
        val plugins = PluginsBlock()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/runtime/os_freebsd_arm.go

    		print("a binary compiled for hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM.\n")
    		exit(1)
    	}
    	if goarm > 6 && cpu.HWCap&_HWCAP_VFPv3 == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no VFPv3 floating point hardware, so it cannot run\n")
    		print("a binary compiled for VFPv3 hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM or changing GOARM to 6.\n")
    		exit(1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadataTest.groovy

            given:
            def v1 = metadata.addVariant("api", attributes(usage: "compile"),)
            v1.addFile("f1", "dir/f1")
            v1.addFile("f2.jar", "f2-1.2.jar")
            def v2 = metadata.addVariant("runtime", attributes(usage: "runtime"),)
            v2.addFile("f1", "dir/f1")
    
            expect:
            metadata.variants.size() == 2
            metadata.variants[0].name == "api"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/runtime/os_linux_arm.go

    		print("a binary compiled for hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM.\n")
    		exit(1)
    	}
    	if goarm > 6 && cpu.HWCap&_HWCAP_VFPv3 == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no VFPv3 floating point hardware, so it cannot run\n")
    		print("a binary compiled for VFPv3 hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM or changing GOARM to 6.\n")
    		exit(1)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/VariantFilesMetadataRulesTest.groovy

        }
    
        def "variant file metadata rules can add files to #metadataType metadata"() {
            given:
            def rule = { MutableVariantFilesMetadata files ->
                files.addFile("added1.zip")
                files.addFile("added2", "../path.jar")
            }
    
            when:
            metadata.getVariantMetadataRules().addVariantFilesAction(new VariantMetadataRules.VariantAction<MutableVariantFilesMetadata>(null, rule))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/cmd/internal/dwarf/dwarf.go

    func PutBasedRanges(ctxt Context, sym Sym, ranges []Range) {
    	ps := ctxt.PtrSize()
    	// Write ranges.
    	for _, r := range ranges {
    		ctxt.AddInt(sym, ps, r.Start)
    		ctxt.AddInt(sym, ps, r.End)
    	}
    	// Write trailer.
    	ctxt.AddInt(sym, ps, 0)
    	ctxt.AddInt(sym, ps, 0)
    }
    
    // PutRanges writes a range table to s.Ranges.
    // All addresses in ranges are relative to s.base.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
Back to top