- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 108 for withRole (0.15 sec)
-
testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/ScriptCachingIntegrationTest.kt
// given: same init, settings & build files all applying same script val same = withFile("same.gradle.kts", """println("Same script on ${'$'}this")""") val sameApply = """apply(from = "same.gradle.kts")""" val initScriptFile = withFile("same.init.gradle.kts", sameApply) val initializationFile = cachedInitializationFile(initScriptFile, false, true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:33:23 UTC 2024 - 13.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslPluginCustomKotlinOptionsIntegrationTest.kt
fun `can configure custom kotlin options on a kotlin-dsl project`() { withDefaultSettingsIn("buildSrc") val buildSrcBuildScript = withKotlinDslPluginIn("buildSrc") withFile("buildSrc/src/main/kotlin/MyDataObject.kt", "data object MyDataObject") withBuildScript("println(MyDataObject)") buildAndFail("help").apply {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 27 20:13:32 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/FolderBasedTest.kt
operator fun String.invoke(subFolders: FoldersDslExpression): File = (+this).withFolders(subFolders) operator fun String.unaryPlus(): File = canonicalFile(this).apply { mkdirs() } fun withFile(fileName: String, content: String = ""): File = canonicalFile(fileName).apply { parentFile.mkdirs() writeText(content) } fun existing(fileName: String): File =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MediumChildMap.java
public class MediumChildMap<T> extends AbstractListChildMap<T> { protected MediumChildMap(List<Entry<T>> children) { super(children); } @Override public <RESULT> RESULT withNode(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, NodeHandler<T, RESULT> handler) { for (Entry<T> entry : entries) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/support/ClassBytesRepositoryTest.kt
withClassJar("some.JAR", DeepThought::class.java), withClassJar("some.zip", LightThought::class.java), withClassJar("some.tar.gz", ZeroThought::class.java), withFile("some.xml") ) ClassBytesRepository( platformClassLoader = ClassLoaderUtils.getPlatformClassLoader(), classPathFiles = entries ).use { repository ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 17:45:10 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/EmptyChildMap.java
@SuppressWarnings("unchecked") public static <T> EmptyChildMap<T> getInstance() { return (EmptyChildMap<T>) INSTANCE; } private EmptyChildMap() { } @Override public <R> R withNode(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, NodeHandler<T, R> handler) { return handler.handleUnrelatedToAnyChild(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GroovyInteroperabilityIntegrationTest.kt
class GroovyInteroperabilityIntegrationTest : AbstractKotlinIntegrationTest() { @Test fun `can call GroovyObject methods in withGroovyBuilder`() { withDefaultSettings() withFile( "groovy.gradle", """ class MyExtension { String server = 'default' def configureServerName(serverName) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PluginSpecBuilderAccessorsIntegrationTest.kt
@LeaksFileHandles("Kotlin Compiler Daemon working directory") fun `can use accessors for plugins in the buildSrc classpath`() { withKotlinBuildSrc() withFile( "buildSrc/src/main/kotlin/my/plugin-a.gradle.kts", """ package my println("*my.plugin-a*") """ ) withDefaultSettings()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 27 20:13:32 UTC 2023 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginGradlePluginCrossVersionSmokeTest.kt
} println("buildSrc build script classpath kotlin compiler version " + KotlinCompilerVersion.VERSION) """ ) withFile( "buildSrc/src/main/kotlin/my-plugin.gradle.kts", "apply(plugin = \"kotlin\")" ) withBuildScript( """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:39:25 UTC 2024 - 8.7K bytes - Viewed (0)