Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 228 for ScriptSource (0.23 sec)

  1. subprojects/core/src/main/java/org/gradle/configuration/project/BuildScriptProcessor.java

            ScriptSource scriptSource = project.getBuildScriptSource();
    
            if (LOGGER.isInfoEnabled()) {
                LOGGER.info("Evaluating {} using {}.", project, scriptSource.getDisplayName());
            }
    
            final Timer clock = Time.startTimer();
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 19 20:09:56 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java

        @Test
        public void filesWithSameNameAndDifferentPathHaveDifferentClassName() {
            ScriptSource source1 = forFile(new File(testDir, "build.gradle"));
            ScriptSource source2 = forFile(new File(testDir, "subdir/build.gradle"));
            assertThat(source1.getClassName(), not(equalTo(source2.getClassName())));
    
            ScriptSource source3 = forFile(new File(testDir, "build.gradle"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 15 01:04:05 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/PrecompiledGroovyScript.java

        String getBodyClassName() {
            return scriptSource.getClassName();
        }
    
        HashCode getContentHash() {
            return scriptSource.getResource().getContentHash();
        }
    
        String getFileName() {
            return firstPassSource.getFileName();
        }
    
        ScriptSource getFirstPassSource() {
            return firstPassSource;
        }
    
        ScriptSource getBodySource() {
            return scriptSource;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/groovy/scripts/DelegatingScriptSource.java

    import org.gradle.internal.DisplayName;
    import org.gradle.internal.resource.TextResource;
    
    public class DelegatingScriptSource implements ScriptSource {
        private final ScriptSource source;
    
        public DelegatingScriptSource(ScriptSource source) {
            this.source = source;
        }
    
        public ScriptSource getSource() {
            return source;
        }
    
        @Override
        public String getClassName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            private final ScriptSource scriptSource;
            private final HashCode implementationHash;
    
            ScriptClassLoader(ScriptSource scriptSource, ClassLoader parent, ClassPath classPath, HashCode implementationHash) {
                super("groovy-script-" + scriptSource.getFileName() + "-loader", parent, classPath);
                this.scriptSource = scriptSource;
                this.implementationHash = implementationHash;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top