- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 417 for Buildscript (0.27 sec)
-
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/PolymorphicManagedTypeIntegrationTest.groovy
class PolymorphicManagedTypeIntegrationTest extends AbstractIntegrationSpec { def "rule can provide a managed model element backed by an abstract class that implements interfaces"() { when: buildScript ''' @Managed interface Named { String getName() } @Managed abstract class Person implements Named {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy
@UnsupportedWithConfigurationCache(because = "software model") class ManagedModelMapIntegrationTest extends AbstractIntegrationSpec { def "rule can create a map of model elements"() { when: buildScript ''' @Managed interface Thing extends Named { void setValue(String value) String getValue() } @Managed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.5K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarEncodingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 10.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/PrecompiledPluginsCompileAvoidanceIntegrationTest.kt
*/ package org.gradle.kotlin.dsl.compile import org.junit.Test class PrecompiledPluginsCompileAvoidanceIntegrationTest : AbstractCompileAvoidanceIntegrationTest() { @Test fun `avoids buildscript recompilation when task is configured in precompiled script plugin`() { val pluginId = "my-plugin" withPrecompiledScriptPluginInBuildSrc( pluginId, """ println("foo")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.1K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleDetectionIntegrationSpec.groovy
def "rules are detected when model path is a straight property reference chain - #path"() { given: def normalisedPath = path.replace('"', '').replaceAll("'", "") when: buildScript """ @Managed interface Item { String getValue() void setValue(String value) } @Managed interface A extends Item {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/execution/ExecuteTaskBuildOperationTypeIntegrationTest.groovy
def operations = new BuildOperationsFixture(executer, temporaryFolder) def "emits operation for task execution"() { when: buildScript """ task t {} """ succeeds "t" then: def op = operations.first(ExecuteTaskBuildOperationType) { it.details.taskPath == ":t" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 18 22:50:47 UTC 2020 - 4.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy
Gradle.class.classLoader.loadClass('${implClassName}') try { buildscript.classLoader.loadClass('${implClassName}') assert false: 'should fail' } catch (ClassNotFoundException e) { // expected } finally { if (buildscript.classLoader instanceof Closeable) { buildscript.classLoader.close() } } try { buildscript.classLoader.loadClass('BuildSrcClass') assert false: 'should fail'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/ide/problems-api-usage/kotlin/reporters/script-plugin/src/main/kotlin/reporters/script.plugin.gradle.kts
import org.gradle.api.internal.GradleInternal import org.gradle.kotlin.dsl.registering val gradleInternal = gradle as GradleInternal val problems = gradleInternal.services.get(Problems::class.java) problems.forNamespace("buildscript").reporting { id("adhoc-script-deprecation", "Deprecated script plugin") .contextualLabel("Deprecated script plugin 'demo-script-plugin'") .severity(Severity.WARNING)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/TestKitDependencyClassVisibilityIntegrationTest.groovy
class TestKitDependencyClassVisibilityIntegrationTest extends AbstractIntegrationSpec { def "test kit dependency is not implicitly put on the test compile classpath"() { when: buildScript """ plugins { id "org.gradle.java" } """ file("src/test/java/Test.java") << """ import $GradleRunner.name; class Test {} """ then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 2.3K bytes - Viewed (0)