- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 110 for initScripts (0.24 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/PluginApplicationBuildProgressCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 22.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ProgramParserTest.kt
val source = programSourceWith(" initscript { println(\"Stage 1\") } ") assertProgramOf( source, Program.Buildscript(source.fragment(1..10, 12..33)), programTarget = ProgramTarget.Gradle ) } @Test fun `non empty Gradle script with initscript block`() { val source =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerIsolationIntegrationTest.groovy
def gradleUserHome = userHome.file(".gradle") and: gradleUserHome.file("gradle.properties") << 'myProp1=propertiesFile' gradleUserHome.file("init.gradle") << 'allprojects { ext.myProp2 = \'initScript\' }' and: buildScript """ task check { doLast { // Uses testkit dir
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 2.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/mirror/SetMirrorsSampleModifier.java
import static org.gradle.integtests.fixtures.RepoScriptBlockUtil.gradlePluginRepositoryMirrorUrl; public class SetMirrorsSampleModifier implements SampleModifier { private final File initScript = RepoScriptBlockUtil.createMirrorInitScript(); @Override public Sample modify(Sample sample) { if (sample.getId().contains("usePluginsInInitScripts")) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/fixtures/AbstractXcodeIntegrationSpec.groovy
} void useXcodebuildTool() { executer.requireDaemon().requireIsolatedDaemons() def initScript = file("init.gradle") initScript << IdeCommandLineUtil.generateGradleProbeInitFile('xcode', 'xcodebuild') executer.beforeExecute({ usingInitScript(initScript) }) } // TODO: Use AbstractInstalledToolChainIntegrationSpec instead once Xcode test are sorted out
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 11.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/configuration/ApplyScriptPluginBuildOperationIntegrationTest.groovy
apply from: "${normaliseFileSeparators(otherScript2.absolutePath)}" """ def initScript = file("init.gradle") << """ apply from: "${normaliseFileSeparators(otherScript1.absolutePath)}" """ when: succeeds "help", "-I", initScript.absolutePath then: def ops = operations.all(ApplyScriptPluginBuildOperationType) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 6.4K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementWithSettingsPluginIntegrationTest.groovy
settingsFile << """ plugins { id("test.remote-settings-plugin").version("1.0") } """ def initScript = file("init.gradle") initScript << """ settingsEvaluated { settings -> settings.pluginManagement { repositories { exclusiveContent {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/AbstractInstalledToolChainIntegrationSpec.groovy
static AvailableToolChains.InstalledToolChain toolChain File initScript AvailableToolChains.InstalledToolChain getToolchainUnderTest() { toolChain } def setup() { initScript = file("init.gradle") << """ allprojects { p -> apply plugin: ${toolChain.pluginClass} model {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Lexer.kt
ProgramTarget.Settings -> arrayOf(buildscript, pluginManagement, plugins) ProgramTarget.Gradle -> arrayOf(initscript) } fun buildscriptIdFor(target: ProgramTarget) = when (target) { ProgramTarget.Gradle -> initscript ProgramTarget.Settings -> buildscript ProgramTarget.Project -> buildscript } } } internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PluginUseDslIntegrationSpec.groovy
} def "init scripts cannot have plugin blocks"() { def initScript = file("init.gradle") when: initScript << "plugins {}" then: args "-I", initScript.absolutePath fails "help" failure.assertHasLineNumber 1 failure.assertHasFileName("Initialization script '$initScript.absolutePath'")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 11.7K bytes - Viewed (0)