- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 507 for projectFor (0.25 sec)
-
platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/kotlin/build.gradle.kts
fs.copy { // <3> from(source) into(destination) } } } tasks.register<MyCopyTask>("someTask") { val projectDir = layout.projectDirectory source = projectDir.dir("source") destination = projectDir.dir(System.getProperty("someDestination")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 626 bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginRelocationTest.groovy
class JavaGradlePluginRelocationTest extends AbstractProjectRelocationIntegrationTest { String taskName = ":test" @Override protected void setupProjectIn(TestFile projectDir) { projectDir.with { file("src/main/groovy/CustomTask.groovy") << """ import org.gradle.api.* import org.gradle.api.tasks.* @CacheableTask
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningSamplesSpec.groovy
def "use gnupg signatory with dsl #dsl"() { setup: def projectDir = sample.dir.file(dsl) def symlink = GpgCmdFixture.setupGpgCmd(projectDir) when: inDirectory(projectDir) and: run "signRuntimeElements" then: projectDir.file("build/libs/gnupg-signatory-1.0.jar.asc").assertExists() cleanup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.6K bytes - Viewed (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
) } projectDir.resolve("failed-test-with-leftover/src/test/java/FlakyTest.java").writeFlakyTest(true) projectDir.resolve("flaky-test-with-leftover/src/test/java/FlakyTest.java").writeFlakyTest(true) projectDir.resolve("flaky-test-without-leftover/src/test/java/FlakyTest.java").writeFlakyTest(true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 14 12:35:52 UTC 2023 - 10.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocCachingIntegrationTest.groovy
def setup() { setupProjectInDirectory(temporaryFolder.testDirectory) } def setupProjectInDirectory(TestFile projectDir) { projectDir.file('settings.gradle') << localCacheConfiguration() projectDir.file('settings.gradle') << "rootProject.name = 'test-project'" projectDir.file("build.gradle") << """ plugins { id 'java' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy
def canConstructInstanceOfInterfaceWithFileCollectionGetter() { def projectDir = tmpDir.testDirectory def bean = create(InterfaceFileCollectionBean) expect: bean.prop.toString() == "file collection" bean.prop.empty bean.prop.from("a", "b") bean.prop.files == [projectDir.file("a"), projectDir.file("b")] as Set }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy
@Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) TestFile projectDir DefaultFilePropertyFactory factory def setup() { projectDir = tmpDir.createDir("project") factory = new DefaultFilePropertyFactory(Stub(PropertyHost), TestFiles.resolver(projectDir), TestFiles.fileCollectionFactory()) } def "can create directory instance from absolute file"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.4K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy
executer.requireOwnGradleUserHomeDir() String version = GradleVersion.current().version projectDir = file("project") projectDir.mkdirs() userHomeDir = executer.gradleUserHomeDir buildFile = projectDir.file('build.gradle') visitedBaseDirs = [] artifactsCache = projectDir.file(".gradle/$version/executionHistory/executionHistory.bin")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/DefaultProjectLayout.java
this.fileFactory = fileFactory; this.projectDir = fileFactory.dir(projectDir); this.buildDir = filePropertyFactory.newDirectoryProperty().convention(fileFactory.dir(fileResolver.resolve(Project.DEFAULT_BUILD_DIR_NAME))); } @Override public Directory getProjectDirectory() { return projectDir; } @Override public DirectoryProperty getBuildDirectory() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 28 15:32:09 UTC 2022 - 4.4K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/GradleExecutionParameters.java
Map<String, String> environment) { this.gradleProvider = gradleProvider; this.gradleUserHome = gradleUserHome; this.projectDir = projectDir; this.buildArgs = buildArgs; this.jvmArgs = jvmArgs; this.injectedClassPath = injectedClassPath; this.embedded = embedded; this.standardOutput = standardOutput; this.standardError = standardError;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.1K bytes - Viewed (0)