- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 44 for identityPath (0.27 sec)
-
subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy
_ * task.sharedResources >> [] } def brokenTask(String name, RuntimeException failure) { def mock = Mock(TaskInternal) _ * mock.name >> name _ * mock.identityPath >> project.identityPath.child(name) _ * mock.project >> project _ * mock.state >> Stub(TaskStateInternal) { getFailure() >> failure rethrowFailure() >> { throw failure } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt
} override fun getPluginManager(): PluginManagerInternal { onAccess("pluginManager") return delegate.pluginManager } override fun identityPath(name: String): Path { shouldNotBeUsed() } override fun projectPath(name: String): Path { shouldNotBeUsed() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 41.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DefaultDependencyLockingProviderTest.groovy
FilePropertyFactory filePropertyFactory = TestFiles.filePropertyFactory() @Subject DefaultDependencyLockingProvider provider def setup() { context.identityPath(_) >> { String value -> Path.path(value) } context.getProjectPath() >> Path.path(':') resolver.canResolveRelativePath() >> true resolver.resolve(LockFileReaderWriter.DEPENDENCY_LOCKING_FOLDER) >> lockDir
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy
DomainObjectContext context = Mock() FileResourceListener listener = Mock() RegularFileProperty lockFile = TestFiles.filePropertyFactory().newFileProperty() def setup() { context.identityPath(_) >> { String value -> Path.path(value) } resolver.canResolveRelativePath() >> true resolver.resolve(LockFileReaderWriter.DEPENDENCY_LOCKING_FOLDER) >> lockDir
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 9.9K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildBuildPathAssignmentIntegrationTest.groovy
it.settingsFile << """ gradle.projectsEvaluated { // only print from the root build of the build tree to avoid duplication if (gradle.owner.identityPath.path == ':') { def registry = gradle.services.get(${BuildStateRegistry.name}) registry.visitBuilds { b -> def buildId = b.buildIdentifier
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 09:41:26 UTC 2023 - 13.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheIO.kt
addressSerializer.write(this, it) } } } private fun DefaultWriteContext.writeModelKey(key: ModelKey) { writeNullableString(key.identityPath?.path) writeString(key.modelName) writeNullableString(key.parameterHash?.toString()) } internal fun readCacheEntryDetailsFrom(stateFile: ConfigurationCacheStateFile): EntryDetails? {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyPublicationTest.groovy
getIdentityPath() >> Stub(Path) } def exclude = Mock(ExcludeRule) and: projectDependencyResolver.resolveComponent(ModuleVersionIdentifier, projectDependency.identityPath) >> DefaultModuleVersionIdentifier.newId("pub-org", "pub-module", "pub-revision") projectDependency.targetConfiguration >> "dep-configuration" projectDependency.artifacts >> []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 01:33:41 UTC 2023 - 15.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy
} static String projectDependency(String projectPath) { return "DefaultProjectDependency{identityPath='${projectPath}', configuration='default'}" } static String getDeclarativeScriptThatConfiguresOnlyTestSoftwareType(String configuration="") { return """ testSoftwareType {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 12:50:35 UTC 2024 - 17.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt
override fun setIncludedBuilds(includedBuilds: MutableCollection<out IncludedBuildInternal>) { delegate.setIncludedBuilds(includedBuilds) } override fun getIdentityPath(): Path = delegate.identityPath override fun contextualize(description: String): String = delegate.contextualize(description) override fun getPublicBuildPath(): PublicBuildPath = delegate.publicBuildPath
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 14.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy
} } private DefaultProject defaultProject(String name, ProjectState owner, def parent, File rootDir, ClassLoaderScope scope) { _ * owner.identityPath >> (parent == null ? Path.ROOT : parent.identityPath.child(name)) _ * owner.projectPath >> (parent == null ? Path.ROOT : parent.projectPath.child(name)) _ * owner.depth >> owner.projectPath.segmentCount()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 35.1K bytes - Viewed (0)