- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 121 for initscript (0.35 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/internal/plugins/ApplyPluginBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:36 UTC 2024 - 6.2K bytes - Viewed (0) -
subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsIntegrationTest.groovy
} def "listener registered from init script can receive task completion events from buildSrc and main build"() { def initScript = initScriptFile loggingListener(initScript) initScript << """ if (gradle.parent == null) { def listener = gradle.sharedServices.registerIfAbsent("listener", LoggingListener) { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 18.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy
executer.beforeExecute { def initScript = file("init.gradle") initScript.text = buildLogicForMinimumBuildTime(minimumBuildTimeMillis) withArgument("-I").withArgument(initScript.absolutePath) } } protected int getMinimumBuildTimeMillis() { 2000 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy
} """.stripIndent() when: executer.expectDeprecationWarnings(1) executer.usingInitScript(initScript) run '-s' then: output.contains("Initialization script '${initScript}': line 3") output.contains('init.gradle:3)') output.count(PLUGIN_DEPRECATION_MESSAGE) == 1 output.count('\tat') == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 16:16:32 UTC 2024 - 12.8K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/XCTestTestFrameworkIntegrationTest.groovy
assumeTrue(toolChain != null) File initScript = file("init.gradle") << """ allprojects { p -> apply plugin: ${toolChain.pluginClass} model { toolChains { ${toolChain.buildScriptConfig} } } } """ executer.beforeExecute({ usingInitScript(initScript) }) settingsFile << "rootProject.name = 'app'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/IsolatedProjectsSafeKotlinDslScriptsModelBuilder.kt
} } private fun buildInitScriptModel(initScript: File, rootProject: ProjectInternal): NonProjectScriptModel { val gradle = rootProject.gradle val (scriptHandler, scriptClassPath) = compilationClassPathForScriptPluginOf( target = gradle, scriptFile = initScript, baseScope = gradle.classLoaderScope,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 11:06:08 UTC 2024 - 12.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/configuration/InitScriptProcessor.java
*/ package org.gradle.configuration; import org.gradle.groovy.scripts.ScriptSource; import org.gradle.api.internal.GradleInternal; public interface InitScriptProcessor { void process(ScriptSource initScript, GradleInternal gradle);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 02 16:56:13 UTC 2016 - 853 bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildClassloadingIntegrationTest.groovy
@Issue('GRADLE-3553') @LeaksFileHandles def "init-script with project dependent classpath and included build"() { given: file('gradle-user-home/init.gradle') << """ initscript { ${mavenCentralRepository()} File searchDir = gradle.startParameter.projectDir ?: gradle.startParameter.currentDir def version = new File(searchDir, 'version.txt').text
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 06 13:06:26 UTC 2020 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslAssignmentIntegrationTest.kt
class KotlinDslAssignmentIntegrationTest : AbstractKotlinIntegrationTest() { @Test fun `can use assignment for properties in init scripts`() { val initScript = withInitScriptWithAssignment() // Expect build("-I", initScript.absolutePath).apply { assertOutputContains("Init property value: Hello world") } } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/AbstractVisualStudioIntegrationSpec.groovy
// In real builds (we do not redirect output normally), msbuild and VS do not hang like this. executer.requireIsolatedDaemons().requireDaemon() initScript << IdeCommandLineUtil.generateGradleProbeInitFile('visualStudio', 'msbuild') initScript << """ allprojects { p -> p.plugins.withType(VisualStudioPlugin.class) { p.tasks.withType(GenerateProjectFileTask) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.4K bytes - Viewed (0)