- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 108 for withRole (0.2 sec)
-
platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/KotlinInitScriptModelCrossVersionSpec.groovy
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) assertThat(
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-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmTargetIntegrationTest.kt
withDefaultSettingsIn("buildSrc") withKotlinDslPluginIn("buildSrc").appendText(""" dependencies { implementation(files("utils.jar")) } """) withFile("buildSrc/src/main/kotlin/some.gradle.kts", printScriptJavaClassFileMajorVersion) withBuildScript("""plugins { id("some") }""")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 08:31:21 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginAccessorSettingEvaluationTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 11:39:02 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt
) ) } @Test @ToBeFixedForConfigurationCache(because = "source dependency VCS mappings are defined") fun `can use Gradle API generated extensions in scripts`() { withFile( "init.gradle.kts", """ allprojects { container(String::class) } """ ) withDefaultSettings().appendText(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:53:16 UTC 2023 - 9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt
System.out.println("foo"); } """ ) withFile("buildSrc/src/main/resources/foo.txt", "foo") withUniqueScript("$className().foo()") configureProject().assertBuildScriptCompiled().assertOutputContains("foo") withFile("buildSrc/src/main/resources/foo.txt", "bar")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:42 UTC 2023 - 19.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/K2IntegrationTest.kt
private fun withK2BuildLogic() { withFile("build-logic/src/main/kotlin/MyTask.kt", """ import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction abstract class MyTask : DefaultTask() { @TaskAction fun action() { println("Doing something") } } """) withFile("build-logic/src/main/kotlin/MyPlugin.kt", """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 06:52:58 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/AbstractCompileAvoidanceIntegrationTest.kt
""" ) } protected fun javaSourceFile(baseDir: String, classBody: String, classAnnotations: String = ""): String { val className = "Foo" withFile( "$baseDir/src/main/java/com/example/$className.java", """ package com.example; $classAnnotations public class $className { $classBody
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:43 UTC 2023 - 4.6K bytes - Viewed (0) -
manifests/addons/dashboards/lib/panels.libsonnet
heatmap.new(title) + heatmap.queryOptions.withTargets(targets) + heatmap.queryOptions.withInterval('1m') + options.calculation.xBuckets.withMode('size') + options.calculation.xBuckets.withValue('1min') + options.withCellGap(0) + options.color.withMode('scheme') + options.color.withScheme('Spectral') + options.color.withSteps(128) + options.yAxis.withDecimals(0)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/keytopath.go
b.Path = &value return b } // WithMode sets the Mode field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Mode field is set to the value of the last call. func (b *KeyToPathApplyConfiguration) WithMode(value int32) *KeyToPathApplyConfiguration { b.Mode = &value return b
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 2.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java
return children.withNode(targetPath, caseSensitivity, new ChildMap.NodeHandler<T, Optional<MetadataSnapshot>>() { @Override public Optional<MetadataSnapshot> handleAsDescendantOfChild(VfsRelativePath pathInChild, T child) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:34 UTC 2024 - 5.4K bytes - Viewed (0)