Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for ScriptSource (0.24 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/settings/PluginsInterpretationSequenceStep.kt

    
    internal
    class PluginsInterpretationSequenceStep(
        stepIdentifierString: String = "plugins",
        private val targetScope: ClassLoaderScope,
        private val scriptSource: ScriptSource,
        private val getTargetServices: () -> ServiceRegistry,
    ) : InterpretationSequenceStepWithConversion<PluginsTopLevelReceiver> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/configuration/ScriptPluginFactorySelector.java

        @Override
        public ScriptPlugin create(
            ScriptSource scriptSource, ScriptHandler scriptHandler, ClassLoaderScope targetScope,
            ClassLoaderScope baseScope, boolean topLevelScript
        ) {
            scriptSourceListener.scriptSourceObserved(scriptSource);
            ScriptPlugin scriptPlugin = scriptPluginFactoryFor(scriptSource.getFileName())
                .create(scriptSource, scriptHandler, targetScope, baseScope, topLevelScript);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 07:44:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/GradleProcessInterpretationSchemaBuilder.kt

    }
    
    
    data class LoadedSettingsScriptContext(
        val settings: SettingsInternal,
        val targetScope: ClassLoaderScope,
        val scriptSource: ScriptSource
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/settings/SettingsDslSchema.kt

    import org.gradle.plugin.software.internal.SoftwareTypeRegistry
    
    
    internal
    fun settingsInterpretationSequence(
        settings: SettingsInternal,
        targetScope: ClassLoaderScope,
        scriptSource: ScriptSource,
        softwareTypeRegistry: SoftwareTypeRegistry
    ): InterpretationSequence =
        DefaultInterpretationSequence(
            listOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/core/ScriptSourceExtensions.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.extensions.core
    
    import org.gradle.groovy.scripts.ScriptSource
    import java.net.URI
    
    
    /**
     * Same as `resource.location.uri`.
     */
    val ScriptSource.uri: URI?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 16:55:36 UTC 2024
    - 835 bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/runner/AnalysisStepRunner.kt

            AssignmentTracer { AssignmentResolver() }.produceAssignmentTrace(result)
    
        private
        fun languageModelFromLightParser(scriptIdentifier: String, scriptSource: String): LanguageTreeResult {
            val parsedTree = parse(scriptSource)
            return languageTreeBuilder.build(parsedTree, SourceIdentifier(scriptIdentifier))
        }
    
        private
        val languageTreeBuilder = DefaultLanguageTreeBuilder()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/main/SimpleAnalysisEvaluator.kt

            supportedResolutionResultHandlers = listOf(ConventionDefinitionCollector(conventionStorage), ConventionApplicationHandler(conventionStorage))
        )
    
        fun evaluate(
            scriptFileName: String,
            scriptSource: String
        ): AnalysisSequenceResult {
            val scriptContext = scriptContextFromFileName(scriptFileName)
            return when (val built = schemaBuilder.getEvaluationSchemaForScript(scriptContext)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/SettingsInternal.java

    import org.gradle.api.internal.project.ProjectRegistry;
    import org.gradle.caching.configuration.internal.BuildCacheConfigurationInternal;
    import org.gradle.declarative.dsl.model.annotations.Adding;
    import org.gradle.groovy.scripts.ScriptSource;
    import org.gradle.initialization.DefaultProjectDescriptor;
    import org.gradle.initialization.IncludedBuildSpec;
    import org.gradle.internal.FinalizableValue;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top