Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 161 for replaced (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy

                    void apply(Project project) {
                        def newProps = new Properties()
                        System.properties.forEach { k, v -> newProps[k] = v }
                        newProps.replace("some.property", "new.value")
                        ${setProperties}(newProps)
                    }
                }
    
                apply plugin: SomePlugin
    
                tasks.register("printProperty") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java

     */
    public interface InstrumentingClassLoader {
        /**
         * This hook is called when the class is being defined in this classloader.
         * If the implementation decides to replace the bytecode, it returns a non-null byte array from this method.
         * Prefer returning {@code null} instead of the {@code classfileBuffer} to continue loading the original bytecode.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

                    void apply(Project project) {
                        def newProps = new Properties()
                        System.properties.forEach { k, v -> newProps[k] = v }
                        newProps.replace("some.property", "new.value")
                        ${setProperties}(newProps)
    
                        project.tasks.register("printProperty") {
                            doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            }
        }
    
        byte[] classOne() {
            return getClass().classLoader.getResource(SystemPropertyAccessingThing.name.replace('.', '/') + ".class").bytes
        }
    
        byte[] classTwo() {
            return getClass().classLoader.getResource(AnotherSystemPropertyAccessingThing.name.replace('.', '/') + ".class").bytes
        }
    
        private InstrumentedInputsListener withInstrumentedInputsListener() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

        def "Custom system properties are ignored in older Gradle versions"() {
            setup:
            if (targetDist.version < GradleVersion.version('4.9') ) {
                buildFile.text = buildFile.text.replace('tasks.register', 'tasks.create')
            }
    
            when:
            runTask { withSystemProperties('mySystemProperty' : 'ignored') }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(project.getName()).thenReturn(projectName);
            return project;
        }
    
        private static String adaptDirSeparator(String path) {
            return path.replace('/', File.separatorChar).replace('\\', File.separatorChar);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/go.mod

    	gopkg.in/inf.v0 v0.9.1 // indirect
    	gopkg.in/yaml.v3 v3.0.1 // indirect
    	sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
    	sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
    )
    
    replace (
    	k8s.io/api => ../api
    	k8s.io/apimachinery => ../apimachinery
    	k8s.io/cli-runtime => ../cli-runtime
    	k8s.io/client-go => ../client-go
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInKotlinIntegrationTest.groovy

            fromStringList()  | "ProcessBuilder(command).start()"                                                   | ""                | ""
    
            title = processCreator.replace("command", varInitializer.description)
        }
    
        def "calling an unrelated method is allowed in kotlin build script"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy

            }
        }
    
        enum Kind {
            CHANGE_SOURCE,
            ADD_SOURCE,
            CHANGE_RESOURCE,
            ADD_RESOURCE
    
            @Override
            String toString() {
                name().toLowerCase().replace('_', ' ')
            }
        }
    
        static final String ORIGINAL_GREETING = 'Hello!'
        static final String CHANGED_GREETING = "G'day!"
    
        public final String pluginId = 'build-logic'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

                3.toByte() -> {
                    val value = read()
                    val sideEffect = readNonNull<ValueSupplier.SideEffect<in Any>>()
                    // nullable because serialization may replace value with null, e.g. when using provider of Task
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top