Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 762 for destFile (0.25 sec)

  1. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoTaskExtension.java

            builder.append("-javaagent:");
            builder.append(agent.getJar().getAbsolutePath());
            builder.append('=');
            argument.append("destfile", getDestinationFile());
            argument.append("append", true);
            argument.append("includes", getIncludes());
            argument.append("excludes", getExcludes());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
            provider.parse(sourceFile.get().asFile)
            transformDocument(provider.document)
            provider.write(destFile.get().asFile)
        }
    
        private def transformDocument(Document mainDocbookTemplate) {
            ClassMetaDataRepository<ClassMetaData> classRepository = new SimpleClassMetaDataRepository<ClassMetaData>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/ant.adoc

    You use the task name as the method name:
    
    .build.gradle
    [source,groovy]
    ----
    ant.mkdir(dir: "$STAGE")
    ant.copy(todir: "$STAGE/bin") {
        ant.fileset(dir: 'bin', includes: "**")
    }
    ant.gzip(destfile:"build/file-${VERSION}.tar.gz", src: "build/file-${VERSION}.tar")
    ----
    
    For example, you execute the Ant `echo` task using the `ant.echo()` method.
    
    The attributes of the Ant task are passed as Map parameters to the method.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 15:23:52 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    [source,groovy]
    ----
    task moveFile {
        doLast {
            def sourceFile = file('source.txt')
            def destFile = file('destination/new_name.txt')
    
            if (sourceFile.renameTo(destFile)) {
                println "File moved successfully."
            }
        }
    }
    
    ----
    
    === Using the `Copy` task
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            new TestFileHelper(this).tgzTo(tarFile, readOnly);
            return this;
        }
    
        public TestFile tbzTo(TestFile tarFile) {
            return tbzTo(tarFile, false);
        }
    
        public TestFile tbzTo(TestFile tarFile, boolean readOnly) {
            new TestFileHelper(this).tbzTo(tarFile, readOnly);
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesApplicationIntegrationTest.groovy

            appendExecutableDir(dslDir, executableDir)
            executer.inDirectory(dslDir)
            succeeds('distZip')
    
            then:
            def distFile = dslDir.file('build/distributions/my-app-1.0.2.zip')
            distFile.assertIsFile()
    
            def installDir = dslDir.file('unzip')
            distFile.usingNativeTools().unzipTo(installDir)
    
            checkApplicationImage(installDir.file('my-app-1.0.2'), executableDir)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

                    def testFile = file("$buildDir/out.txt")
                    outputs.file testFile
                    executable = org.gradle.internal.jvm.Jvm.current().getJavaExecutable()
                    args '-cp', sourceSets.main.runtimeClasspath.asPath, 'org.gradle.TestMain', projectDir, testFile
                    doLast {
                        assert testFile.exists()
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

        TestFile getSha512File(TestFile file) {
            getHashFile(file, Hashing.sha512())
        }
    
        TestFile sha512File(TestFile file) {
            hashFile(file, Hashing.sha512())
        }
    
        TestFile getMd5File(TestFile file) {
            getHashFile(file, Hashing.md5())
        }
    
        TestFile md5File(TestFile file) {
            hashFile(file, Hashing.md5())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/IntegrationTestBuildContext.java

            }
            return new ReleasedGradleDistribution(version, previousVersionDir.file(version));
        }
    
        protected static TestFile file(String propertyName, String defaultPath) {
            TestFile testFile = optionalFile(propertyName);
            if (testFile != null) {
                return testFile;
            }
            if (defaultPath == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/testFixtures/groovy/org/gradle/buildinit/plugins/fixtures/ScriptDslFixture.groovy

            rootDir.file("gradle/libs.versions.toml")
        }
    
        TestFile scriptFile(String filePathWithoutExtension, TestFile parentFolder = rootDir) {
            def fileWithoutExtension = parentFolder.file(filePathWithoutExtension)
            new TestFile(fileWithoutExtension.parentFile, fileNameFor(fileWithoutExtension.name))
        }
    
        void assertGradleFilesGenerated(TestFile parentFolder = rootDir, String... pathForBuild) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 00:45:16 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top