Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for instrument2 (0.6 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java

    import static org.gradle.internal.classpath.MethodHandleUtils.lazyKotlinStaticDefaultHandle;
    import static org.gradle.internal.classpath.intercept.CallInterceptorRegistry.getGroovyCallDecorator;
    
    public class Instrumented {
        @SuppressWarnings("deprecation")
        private static InstrumentedInputsListener listener() {
            return InstrumentedInputs.listener();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/BYTECODE-INTERCEPTION-README.md

    We have different pipelines since project dependencies are only instrumented, while external dependencies are instrumented and upgraded.
    
    ```mermaid
    flowchart LR
        classpath(Plugins classpath)
        instrumentAndUpgrade{{"Instrument and upgrade"}}
        instrumentOnly{{"Instrument only"}}
        instrumentedAndUpgradedClasspath(Plugins classpath*)
        externalJar1(External jar1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 09:22:58 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy

            then:
            gradleUserHomeOutputs("instrumented/instrumented-api-1.0.jar").size() == 2
            gradleUserHomeOutputs("instrumented/instrumented-impl-1.0.jar").size() == 2
        }
    
        @Requires(
            value = IntegTestPreconditions.NotConfigCached,
            reason = "Cc doesn't get invalidated when file dependency changes"
        )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/TransformedClassPathTest.groovy

            classPathAsList(AGENT_INSTRUMENTATION_MARKER.fileName, "instrumented/instrumented-1.jar", AGENT_INSTRUMENTATION_MARKER.fileName, "instrumented/instrumented-2.jar") | "Instrumented entry ${file("instrumented/instrum...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 11:14:30 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/GroovyFileInterceptors.java

            ResourceGroovyMethods.eachByte(self, bufferLen, closure);
        }
    
        @InterceptGroovyCalls
        @InstanceMethod
        @WithExtensionReferences(toClass = ResourceGroovyMethods.class)
        public static void intercept_eachDir(
            @Receiver File self,
            Closure<?> closure,
            @CallerClassName String consumer
        ) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:57:56 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            def builder = artifactBuilder()
            builder.sourceFile("TestAgent.java") << """
                public class TestAgent {
                    public static void premain(String p1, java.lang.instrument.Instrumentation p2) {
                    }
                }
            """
            builder.manifestAttributes("Premain-Class": "TestAgent")
            def agentJar = file("agent.jar")
            builder.buildJar(agentJar)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/TransformedClassPath.java

             */
            INSTRUMENTATION_CLASSPATH_MARKER(".gradle-instrumented-classpath.marker"),
            /**
             * A marker file put next to the instrumented entry to indicate that it is using agent instrumentation.
             */
            AGENT_INSTRUMENTATION_MARKER(".gradle-agent-instrumented.marker"),
            /**
             * A marker file put next to the instrumented entry to indicate that it is using legacy instrumentation.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:59:11 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

            }
            return result
        }
    
        String instrument(String idExpr) {
            return """println("script=" + $idExpr + "=" + getClass().name + "," + getClass().classLoader.getURLs().collect { new File(it.toURI()) })"""
        }
    
        String simpleBuild(String content = '') {
            """
                ${content}
                ${instrument("project.path")}
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. build-logic/packaging/src/test/kotlin/gradlebuild/instrumentation/InstrumentationMetadataPluginTest.kt

            createProject()
        }
    
        @Test
        fun `should output instrumented-super-types properties with instrumented org-gradle super types with stable order`() {
            // When
            assertSucceeds()
    
            // Then
            val instrumentedSuperTypes = File(projectRoot, "distribution/build/instrumentation/instrumented-super-types.properties").readLines()
            val expectedSuperTypes = listOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:55:53 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/cross_project_publications.adoc

    So we need to change the requested attributes so that we now look for instrumented jars:
    
    .Changing the consumer attributes
    ====
    include::sample[dir="snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/kotlin",files="consumer/build.gradle.kts[tags=ask-for-instrumented-classes]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top