- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 71 for withIdle (0.43 sec)
-
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-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-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) -
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) -
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) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags.go
Filenames: &filenames, Recursive: boolPtr(true), }, } } // WithFile sets the FileNameFlags. // If recurse is set, it will process directory recursively. Useful when you want to manage related manifests // organized within the same directory. func (o *ResourceBuilderFlags) WithFile(recurse bool, files ...string) *ResourceBuilderFlags { o.FileNameFlags = &FileNameFlags{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 13 10:28:09 UTC 2021 - 6.7K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/BinaryNamingScheme.java
/** * Creates a copy of this scheme, replacing the role. The 'role' refers to the role that the binary plays within its component. */ BinaryNamingScheme withRole(String role, boolean isMain); /** * Creates a copy of this scheme, replacing the binary type. */ BinaryNamingScheme withBinaryType(String type); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/ComponentMetadataSupplierRuleExecutorTest.groovy
if (ruleClass == TestSupplierWithService) { ruleServices['SomeService'] = someService } def reexecute = mustRefresh || expired when: withRule(ruleClass, ruleServices) execute(id) then: 1 * valueSnapshotter.snapshot(_) >> inputsSnapshot 1 * store.getIfPresent(keyHash) >> cachedEntry if (expired) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 10.3K bytes - Viewed (0)