- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 203 for ScriptSource (0.14 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt
accessorsClassPath: ClassPath, scriptSource: ScriptSource ): CompiledScript { logClassLoadingOf(scriptTemplateId, scriptSource) return host.loadClassInChildScopeOf( baseScope, childScopeId = classLoaderScopeIdFor(scriptPath, scriptTemplateId), origin = ClassLoaderScopeOrigin.Script(scriptSource.fileName, scriptSource.longDisplayName, scriptSource.shortDisplayName),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:56 UTC 2023 - 21.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/ScriptCompilationException.java
private final ScriptSource scriptSource; private final Integer lineNumber; public ScriptCompilationException(String message, Throwable cause, ScriptSource scriptSource, Integer lineNumber) { super(message, cause); this.scriptSource = scriptSource; this.lineNumber = lineNumber; } public ScriptSource getScriptSource() { return scriptSource; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 1.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/DefaultScriptPluginFactoryTest.groovy
import spock.lang.Specification class DefaultScriptPluginFactoryTest extends Specification { def scriptCompilerFactory = Mock(ScriptCompilerFactory) def scriptCompiler = Mock(ScriptCompiler) def scriptSource = Mock(ScriptSource) def scriptRunner = Mock(ScriptRunner) def script = Mock(BasicScript) def targetScope = Mock(ClassLoaderScope) def baseScope = Mock(ClassLoaderScope)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 09 15:05:17 UTC 2023 - 11.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy
final ScriptSource scriptSource = scriptSource(scriptText) def sourceHashCode = hashFor(scriptText) when: scriptCompilationHandler.compileToDir(scriptSource, classLoader, scriptCacheDir, metadataCacheDir, null, expectedScriptClass, verifier) then: checkScriptClassesInCache(true) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 08:24:10 UTC 2023 - 19.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/DeclarativeKotlinScriptEvaluator.kt
} } private fun runInterpretationSequence( scriptSource: ScriptSource, sequence: InterpretationSequence, target: Any ): EvaluationResult<ConversionStepResult> = sequence.steps.map { step ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:40 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/ScriptPluginFactorySelectorTest.groovy
given: def scriptSource = scriptSourceFor(fileName) def target = new Object() when: def scriptPlugin = selector.create(scriptSource, scriptHandler, targetScope, baseScope, false) and: scriptPlugin.apply(target) then: 1 * defaultScriptPlugin.source >> scriptSource 1 * defaultScriptPlugin.apply(target) where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 4.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/BuildOperationScriptPluginTest.groovy
then: 2 * scriptSource.getResource() >> scriptSourceResource 1 * scriptSourceResource.getLocation() >> scriptSourceResourceLocation 1 * scriptSourceResource.isContentCached() >> true 1 * scriptSourceResource.getHasEmptyContent() >> false 3 * decoratedScriptPlugin.getSource() >> scriptSource 2 * scriptSource.shortDisplayName >> Describables.of("<test.source>")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/configuration/DefaultScriptPluginFactory.java
@Override public ScriptPlugin create(ScriptSource scriptSource, ScriptHandler scriptHandler, ClassLoaderScope targetScope, ClassLoaderScope baseScope, boolean topLevelScript) { return new ScriptPluginImpl(scriptSource, (ScriptHandlerInternal) scriptHandler, targetScope, baseScope, topLevelScript); } private class ScriptPluginImpl implements ScriptPlugin { private final ScriptSource scriptSource;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 15:37:32 UTC 2024 - 9.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultScriptHandlerFactory.java
} @Override public ScriptHandlerInternal create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope) { return create(scriptSource, classLoaderScope, RootScriptDomainObjectContext.INSTANCE); } @Override public ScriptHandlerInternal create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/provider/DeclarativeDslScriptPluginFactory.kt
override fun create( scriptSource: ScriptSource, scriptHandler: ScriptHandler, targetScope: ClassLoaderScope, baseScope: ClassLoaderScope, topLevelScript: Boolean ): ScriptPlugin = DeclarativeDslPlugin(scriptSource) { target -> when (val result = declarativeKotlinScriptEvaluator.evaluate(target, scriptSource, targetScope)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:47 UTC 2024 - 2.1K bytes - Viewed (0)