- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 419 for buildscript (0.17 sec)
-
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/CorePluginUseIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/CompiledKotlinPluginsBlock.kt
) : CompiledKotlinSettingsScript(host) { /** * Configures the build script classpath for this project. * * @see [Project.buildscript] */ open fun buildscript(block: ScriptHandlerScope.() -> Unit) { ScriptHandlerScope(buildscript).block() } open fun plugins(configuration: PluginDependenciesSpecScope.() -> Unit) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/CompiledKotlinBuildScript.kt
/** * The [ScriptHandler] for this script. */ val buildscript: ScriptHandler get() = host.scriptHandler /** * Configures the build script classpath for this project. * * @see [Project.buildscript] */ @Suppress("unused") open fun buildscript(@Suppress("unused_parameter") block: ScriptHandlerScope.() -> Unit): Unit = internalError()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/ContinueIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ExtractPrecompiledScriptPluginPluginsTest.kt
fun `can extract plugins block from script with a buildscript block`() { extractPluginsFrom( // the `buildscript` block is not really valid in precompiled script plugins (causes a runtime error) // but still worth testing here scriptPlugin( "buildscript-and-plugins.gradle.kts", """ buildscript {} plugins { java } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/DeployedPortalIntegrationSpec.groovy
""".stripIndent().trim()) } def "can resolve and plugin from portal with buildscript notation"() { given: def helloWorldGroup = 'org.gradle' def helloWorldName = 'gradle-hello-world-plugin' when: buildScript """ buildscript { repositories { gradlePluginPortal() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeDependentComponentsReportIntegrationTest.groovy
given: buildScript simpleCppBuild() when: fails 'dependentComponents', '--component', 'unknown' then: failure.assertHasCause "Component 'unknown' not found." } def "fails when some of the targeted components are not found"() { given: buildScript simpleBuildWithTestSuites() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 24K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedAsProjectPluginIntegrationTest.groovy
@UnsupportedWithConfigurationCache(because = "software model") class RuleSourceAppliedAsProjectPluginIntegrationTest extends AbstractIntegrationSpec { def "plugin class can expose model rules"() { when: buildScript ''' class MyPlugin { static class Rules extends RuleSource { @Model List<String> strings() { [] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt
} """ ) withBuildScript( """ buildscript { // buildSrc types are available within buildscript // and must always be fully qualified build.DeepThought().compute { answer -> println("buildscript: " + answer) } } apply<build.DeepThoughtPlugin>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 18:26:28 UTC 2024 - 37.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
} def 'strict locks on buildscript classpath does not mean strict locks on project (initial unique: #unique)'() { given: mavenRepo.module('org.foo', 'foo-plugin', '1.0').publish() mavenRepo.module('org.foo', 'foo-plugin', '1.1').publish() settingsFile << """ rootProject.name = 'foo' """ buildFile << """ buildscript { repositories { maven {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.4K bytes - Viewed (0)