- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 116 for ClassLoaderScope (0.23 sec)
-
subprojects/core/src/main/java/org/gradle/configuration/BuildTreePreparingProjectsPreparer.java
ClassPath buildSrcClassPath = buildSourceBuilder.buildAndGetClassPath(gradle); baseProjectClassLoaderScope.export(buildSrcClassPath).lock(); } private void generateDependenciesAccessorsAndAssignPluginVersions(ServiceRegistry services, SettingsInternal settings, ClassLoaderScope classLoaderScope) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 01 14:00:32 UTC 2023 - 4.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/project/BuildScriptProcessorTest.groovy
def scriptSource = Mock(ScriptSource) def configurerFactory = Mock(ScriptPluginFactory) def scriptPlugin = Mock(ScriptPlugin) def targetScope = Mock(ClassLoaderScope) def baseScope = Mock(ClassLoaderScope) def projectState = Mock(ProjectState) def buildScriptProcessor = new BuildScriptProcessor(configurerFactory) def scriptHandler = Mock(ScriptHandlerInternal) def "setup"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 06 01:39:02 UTC 2021 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/ClassLoaderScopeExtensions.kt
import org.gradle.api.internal.initialization.ClassLoaderScope internal inline fun <T> ClassLoaderScope.foldHierarchy(initial: T, operation: (T, ClassLoaderScope) -> T): T { var result = initial traverseHierarchy { result = operation(result, it) } return result } internal inline fun ClassLoaderScope.traverseHierarchy(action: (ClassLoaderScope) -> Unit) { action(this) traverseAncestors(action)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java
public void setClassLoaderScope(Supplier<? extends ClassLoaderScope> classLoaderScope) { if (this.classLoaderScope != null) { throw new IllegalStateException("Class loader scope already used"); } this.classLoaderScope = classLoaderScope; } @Override public ClassLoaderScope getClassLoaderScope() { if (classLoaderScope == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 23.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt
get() = compilationClassPathOf((this as ProjectInternal).classLoaderScope) private fun Project.compilationClassPathOf(classLoaderScope: ClassLoaderScope) = serviceOf<KotlinScriptClassPathProvider>().safeCompilationClassPathOf(classLoaderScope, true) { (this as ProjectInternal).gradle } private inline fun KotlinScriptClassPathProvider.safeCompilationClassPathOf(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 11:06:08 UTC 2024 - 17.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinScriptHost.kt
class KotlinScriptHost<out T : Any> internal constructor( val target: T, val scriptSource: ScriptSource, internal val scriptHandler: ScriptHandler, internal val targetScope: ClassLoaderScope, private val baseScope: ClassLoaderScope, private val serviceRegistry: ServiceRegistry ) { internal val fileName = scriptSource.fileName!! internal val fileOperations: FileOperations by unsafeLazy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/CompileGroovyScriptPluginsTask.java
@TaskAction void compileScripts() { ClassLoaderScope classLoaderScope = getClassLoaderScopeRegistry().getCoreAndPluginsScope(); ClassLoader compileClassLoader = new URLClassLoader(DefaultClassPath.of(getClasspath()).getAsURLArray(), classLoaderScope.getLocalClassLoader()); FileSystemOperations fileSystemOperations = getFileSystemOperations();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 5.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/SettingsInternal.java
/** * The parent scope for this and all settings objects. * * Gradle runtime. */ ClassLoaderScope getBaseClassLoaderScope(); /** * The scope for this settings object. * * Gradle runtime + this object's script's additions. */ ClassLoaderScope getClassLoaderScope(); ServiceRegistry getServices(); @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 08:36:37 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassDecoder.kt
classes.putInstance(id, newType) return newType } private fun ReadContext.readScope(): ClassLoaderScope { val id = readSmallInt() val scope = scopes.getInstance(id) if (scope != null) { return scope as ClassLoaderScope } val parent = if (readBoolean()) { readScope() } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/InstantiatingBuildLoaderTest.groovy
BuildState buildState = Mock(BuildState) ProjectState rootProjectState = Mock(ProjectState) def rootProjectClassLoaderScope = Mock(ClassLoaderScope) def baseProjectClassLoaderScope = Mock(ClassLoaderScope) { 1 * createChild("root-project[:]", null) >> rootProjectClassLoaderScope } @Rule
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 5.9K bytes - Viewed (0)