- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for track (0.58 sec)
-
platforms/core-runtime/BYTECODE-INTERCEPTION-README.md
## Background With the introduction of configuration cache we got a requirement to track user inputs for the configuration phase. Inputs could be environment variables, files, system properties and so on. These inputs are often read via an API that Gradle doesn’t control, e.g. Java API via `System.getenv()`. So to track these inputs we had to find a way to track when they are accessed by intercepting API calls reading them.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 09:22:58 UTC 2024 - 22.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt
// Writing with explicit trace helps to avoid attributing these failures to "Gradle runtime". // TODO(mlopatkin): can we do even better and pinpoint the exact stacktrace in case of failure? val trace = locationFor(null) sink().write(ValueSource(obtainedValue.uncheckedCast()), trace) reportUniqueValueSourceInput( trace,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 32.8K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
fun Test.addOsAsInputs() { // Add OS as inputs since tests on different OS may behave differently https://github.com/gradle/gradle-private/issues/2831 // the version currently differs between our dev infrastructure, so we only track the name and the architecture inputs.property("operatingSystem", "${OperatingSystem.current().name} ${System.getProperty("os.arch")}") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 07:43:28 UTC 2024 - 15.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt
} } private fun ProblemSpec.locationOfProblem(problem: PropertyProblem) { val trace = problem.trace.buildLogic() if (trace?.lineNumber != null) { lineInFileLocation(trace.source.displayName, trace.lineNumber!!) } } private fun PropertyTrace.buildLogic() = sequence.filterIsInstance<PropertyTrace.BuildLogic>().firstOrNull()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:04:02 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/resolution/DefaultDocumentResolutionContainer.kt
document, strictReceiverChecks )) } fun resolutionContainer(schema: AnalysisSchema, trace: ResolutionTrace, document: LanguageTreeBackedDocument, strictReceiverChecks: Boolean = true): DocumentResolutionContainer = DocumentResolver(trace, SchemaTypeRefContext(schema), strictReceiverChecks).resolutionContainer(document)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:10 UTC 2024 - 13.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/reflectObject.kt
property: PropertyReferenceResolution, ): AssignmentResolver.AssignmentResolutionResult = trace.resolvedAssignments[property] ?: Unassigned(property) class ReflectionContext( val typeRefContext: TypeRefContext, val resolutionResult: ResolutionResult, val trace: AssignmentTrace, ) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 10.7K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KaFe10Resolver.kt
} ?: return emptyList() val dataFlowInfo = getDataFlowInfoBefore(unwrappedPsi) val bindingTrace = DelegatingBindingTrace(this, "Trace for all candidates", withParentDiagnostics = false) val dataFlowValueFactory = DataFlowValueFactoryImpl(analysisContext.languageVersionSettings)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 38.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt
} } @Test fun `user types codec leaves bean trace of Serializable objects`() { val bean = SerializableWriteObjectBean(mock<Project>()) val problems = serializationProblemsOf(bean) val fieldTrace = assertInstanceOf<PropertyTrace.Property>(problems.single().trace) assertThat( fieldTrace.kind, equalTo(PropertyKind.Field)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 16.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt
) assert( build("build").output.contains("*Build*") ) } @Test fun `given an exception thrown during buildscript block execution, its stack trace should contain correct file and line info`() { executer.withStacktraceEnabled() withBuildScript( """ // line 1 // line 2 // line 3
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 18:26:28 UTC 2024 - 37.5K bytes - Viewed (0)