- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for scriptClasspath (0.13 sec)
-
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/IsolatedProjectsSafeKotlinDslScriptsModelBuilder.kt
} val nonProjectScriptPaths: ScriptClassPath by unsafeLazy { ScriptClassPath( bin = ClassPath.EMPTY, // Non-project script models currently resolve their base classpath themselves src = ClassPath.EMPTY + gradleSourceRoots ) } val scriptPaths: ScriptClassPath by unsafeLazy { ScriptClassPath( bin = scriptClassPath,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 11:06:08 UTC 2024 - 12.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt
project = project, scriptClassPath = scriptClassPath, sourceLookupScriptHandlers = listOf(scriptHandler) ) } private fun settingsScriptModelBuilder(scriptFile: File, project: Project) = project.run { KotlinScriptTargetModelBuilder( scriptFile = scriptFile, project = project, scriptClassPath = settings.scriptCompilationClassPath,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 11:06:08 UTC 2024 - 17.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy
private DefaultScriptCompilationHandler scriptCompilationHandler private File scriptCacheDir private File metadataCacheDir private File cachedFile private ClassPath scriptClassPath private String scriptText private String scriptClassName private String scriptFileName private ClassLoader classLoader = getClass().getClassLoader()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 08:24:10 UTC 2023 - 19.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java
if (scriptClassPath instanceof TransformedClassPath) { return new InstrumentingScriptClassLoader(source, parent, (TransformedClassPath) scriptClassPath, sourceHashCode); } return new ScriptClassLoader(source, parent, scriptClassPath, sourceHashCode); }); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.6K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/validate-external-gradle-plugin.gradle.kts
val scriptHandler = project.buildscript as ScriptHandlerInternal val scriptClassPath = scriptHandler.scriptClassPath.asFiles classpath = project.files(scriptClassPath) val archiveOperations = findArchiveOperations(project) val pluginClassesOf = pluginJars.stream()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/BuildOperationBackedScriptCompilationHandler.java
public <T extends Script, M> CompiledScript<T, M> loadFromDir(ScriptSource source, HashCode sourceHashCode, ClassLoaderScope targetScope, ClassPath scriptClassPath, File metadataCacheDir, CompileOperation<M> transformer, Class<T> scriptBaseClass) { return delegate.loadFromDir(source, sourceHashCode, targetScope, scriptClassPath, metadataCacheDir, transformer, scriptBaseClass); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 3.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/ScriptCompilationHandler.java
<T extends Script, M> CompiledScript<T, M> loadFromDir(ScriptSource source, HashCode sourceHashCode, ClassLoaderScope targetScope, ClassPath scriptClassPath, File metadataCacheDir, CompileOperation<M> transformer, Class<T> scriptBaseClass);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Jun 14 23:46:43 UTC 2020 - 1.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/DefaultScriptHandlerTest.groovy
1 * buildLogicBuilder.resolveClassPath(configuration, resolutionContext) >> classpath } def "script classpath queries runtime classpath"() { when: def result = handler.scriptClassPath then: result == ClasspathUtil.getClasspath(classLoaderScope.localClassLoader) } def "can configure repositories"() { def configure = { mavenCentral()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 23 19:43:17 UTC 2024 - 6.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/DefaultScriptPluginFactoryTest.groovy
compileOperationsFactory ) def setup() { def configurations = Mock(ConfigurationContainer) scriptHandler.configurations >> configurations scriptHandler.scriptClassPath >> Mock(ClassPath) classPathScriptRunner.data >> PluginRequests.EMPTY def configuration = Mock(Configuration) configurations.getByName(ScriptHandler.CLASSPATH_CONFIGURATION) >> configuration
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/api/internal/project/DefaultProjectTest.groovy
_ * owner.applyToMutableState(_) >> { Consumer action -> action.accept(project) } return project } //TODO please move more coverage to NewDefaultProjectTest def scriptClasspath() { when: project.buildscript { repositories } then: 1 * scriptHandlerMock.getRepositories() } def testProject() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 35.1K bytes - Viewed (0)