- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 110 for initScripts (0.33 sec)
-
platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/KotlinInitScriptModelCrossVersionSpec.groovy
@Flaky(because = 'https://github.com/gradle/gradle-private/issues/3708') def "initscript classpath does not include buildSrc"() { given: withBuildSrc() withDefaultSettings() and: def initScript = withFile("my.init.gradle.kts") when: def classPath = canonicalClassPathFor(initScript) then: assertContainsGradleKotlinDslJars(classPath)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinInitScriptIntegrationTest.kt
class KotlinInitScriptIntegrationTest : AbstractKotlinIntegrationTest() { @Test fun `initscript classpath`() { withClassJar("fixture.jar", DeepThought::class.java) val initScript = withFile( "init.gradle.kts", """ initscript { dependencies { classpath(files("fixture.jar")) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:43 UTC 2023 - 5.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptErrorIntegrationTest.groovy
public class InitScriptErrorIntegrationTest extends AbstractIntegrationSpec { def initScript def "setup"() { initScript = file('init.gradle') executer.usingInitScript(initScript) } def "produces reasonable error message when init script evaluation fails with GroovyException"() { initScript << """ createTakk('do-stuff') """ when: fails() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 15:16:36 UTC 2019 - 2.1K bytes - Viewed (0) -
subprojects/build-events/src/integTest/groovy/org/gradle/build/event/InternalBuildOperationEventsIntegrationTest.groovy
class InternalBuildOperationEventsIntegrationTest extends AbstractIntegrationSpec { def "init script can inject listener via use internal API to subscribe to build operation events"() { def initScript = initScriptFile loggingListener(initScript) initScript << """ def listener = gradle.sharedServices.registerIfAbsent("listener", LoggingListener) { } def registry = services.get(BuildEventsListenerRegistry)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 04 12:17:31 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginAccessorSettingEvaluationTest.kt
// <user-home>/init.d/init.gradle initScript( gradleUserHome.resolve("init.d/init.gradle"), "<init.d>" ) // -I init.gradle val initScript = initScript( file("init.gradle"), "<command-line>" ) // when: precompiled script plugin accessors are generated buildWithGradleUserHome( gradleUserHome,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 11:39:02 UTC 2023 - 3.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/configuration/DefaultInitScriptProcessor.java
this.scriptHandlerFactory = scriptHandlerFactory; } @Override public void process(final ScriptSource initScript, GradleInternal gradle) { ClassLoaderScope baseScope = gradle.getClassLoaderScope(); URI uri = initScript.getResource().getLocation().getURI(); String id = uri == null ? idGenerator.generateId().toString() : uri.toString();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 2.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/groovy/scripts/GroovyImportsIntegrationTest.groovy
class GroovyImportsIntegrationTest extends AbstractIntegrationSpec { def "can handle duplicate imports in init scripts"() { def initScript = file('init.gradle') initScript << """ initscript { repositories { ${mavenCentralRepository()} } dependencies { classpath 'org.apache.commons:commons-math3:3.6.1' } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 08 12:24:18 UTC 2021 - 1.2K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/initialization/UserHomeInitScriptFinderTest.groovy
} def "adds user #initScriptName init script when it exits"() { given: def initScript = temporaryFolder.createFile(initScriptName) def sourceList = [] when: finder.findScripts(sourceList) then: sourceList.size == 1 sourceList[0] == initScript where: initScriptName << ['init.gradle', 'init.gradle.kts'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 2.2K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginConfigIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:24:56 UTC 2024 - 7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/configuration/InitScriptTarget.java
import org.gradle.initialization.InitScript; public class InitScriptTarget extends DefaultScriptTarget { public InitScriptTarget(GradleInternal target) { super(target); } @Override public String getId() { return "init"; } @Override public Class<? extends BasicScript> getScriptClass() { return InitScript.class; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 28 15:16:01 UTC 2019 - 1.2K bytes - Viewed (0)