- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for ClassLoaderScope (0.22 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/initialization/ClassLoaderScope.java
* * @return this */ ClassLoaderScope local(ClassPath classPath); /** * Makes the provided classes visible to this scope and its children. The classes are loaded in their own ClassLoader whose parent is the export ClassLoader * of the parent scope. * * <p>Can not be called after being locked. * * @return this */ ClassLoaderScope export(ClassPath classPath); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 4.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/BuildOperationSettingsProcessorTest.groovy
def gradleInternal = Mock(GradleInternal) def settingsLocation = Mock(SettingsLocation) def buildOperationScriptPlugin = new BuildOperationSettingsProcessor(settingsProcessor, buildOperationRunner) def classLoaderScope = Mock(ClassLoaderScope) def startParameter = Mock(StartParameter) def state = Mock(SettingsState) def settingsInternal = Mock(SettingsInternal) def rootDir = new File("root")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/internal/DefaultPluginRequestApplicator.java
if (target == null || requests.isEmpty()) { classLoaderScope.export(scriptHandler.getInstrumentedScriptClassPath()); classLoaderScope.lock(); return; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Jan 14 04:49:39 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt
} private fun createSettings(): SettingsState { val baseClassLoaderScope = gradle.classLoaderScope val classLoaderScope = baseClassLoaderScope.createChild("settings", null) val settingsSource = TextResourceScriptSource(service<TextFileResourceLoader>().loadFile("settings file", settingsFile))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt
throw e.cause as? ScriptCompilationException ?: e } override fun compilationClassPathOf(classLoaderScope: ClassLoaderScope): ClassPath = classPathProvider.compilationClassPathOf(classLoaderScope) override fun loadClassInChildScopeOf( classLoaderScope: ClassLoaderScope, childScopeId: String, origin: ClassLoaderScopeOrigin, location: File,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 10:23:24 UTC 2024 - 17.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/GradleInternal.java
* * @throws IllegalStateException if called before {@link #setBaseProjectClassLoaderScope(ClassLoaderScope)} */ ClassLoaderScope baseProjectClassLoaderScope(); /** * @throws IllegalStateException if called more than once */ void setBaseProjectClassLoaderScope(ClassLoaderScope classLoaderScope); @Override StartParameterInternal getStartParameter();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/AbstractClassLoaderScope.java
} /** * A string representing the path of this {@link ClassLoaderScope} in the {@link ClassLoaderScope} graph. */ public String getPath() { return id.getPath(); } @Override public ClassLoaderScope local(ClassPath classPath) { return immutable(); } @Override public ClassLoaderScope export(ClassPath classPath) { return immutable(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 3.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/ImmutableClassLoaderScope.java
public class ImmutableClassLoaderScope extends AbstractClassLoaderScope { private final ClassLoaderScope parent; private final ClassPath classPath; @Nullable private final HashCode classpathImplementationHash; private final ClassLoader localClassLoader; public ImmutableClassLoaderScope( ClassLoaderScopeIdentifier id, ClassLoaderScope parent, @Nullable ClassLoaderScopeOrigin origin,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 3.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/ClassLoaderScopeRegistryListener.java
import org.gradle.internal.service.scopes.Scope; import javax.annotation.Nullable; /** * Listens to changes to the ClassLoaderScope tree. * * @see ClassLoaderScopeRegistry * @see ClassLoaderScope */ @EventScope(Scope.UserHome.class) public interface ClassLoaderScopeRegistryListener { void childScopeCreated(ClassLoaderScopeId parentId, ClassLoaderScopeId childId, @Nullable ClassLoaderScopeOrigin origin);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.5K 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)