Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for getProjectDir (0.22 seconds)

  1. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/ThirdPartyAuditTaskIT.java

            ).build();
            assertTaskNoSource(result, ":empty");
            assertNoDeprecationWarning(result);
        }
    
        public void testViolationFoundAndCompileOnlyIgnored() {
            setupJarJdkClasspath(getProjectDir());
    
            BuildResult result = getGradleRunner().withArguments(
                    ":clean",
                    ":absurd",
                    "-s",
                    "-PcompileOnlyGroup=other.gradle:broken-log4j",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.6K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesInfoTask.java

        /**
         * Directory to read license files
         */
        @Optional
        @InputDirectory
        private File licensesDir = new File(getProject().getProjectDir(), "licenses").exists()
            ? new File(getProject().getProjectDir(), "licenses")
            : null;
    
        @OutputFile
        private File outputFile = new File(getProject().getBuildDir(), "reports/dependencies/dependencies.csv");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/BuildPluginIT.java

            assertTaskSuccessful(result, ":hello");
            assertOutputContains("build plugin can be applied");
        }
    
        public void testCheckTask() {
            setupJarJdkClasspath(getProjectDir());
            BuildResult result = getGradleRunner().withArguments("check", "assemble", "-s").build();
            assertTaskSuccessful(result, ":check");
        }
    
        public void testLicenseAndNotice() throws IOException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTarIT.java

                "-i"
            );
            runner.build();
        }
    
        private File getOutputFile(final String extension) {
            return getProjectDir().toPath().resolve("build/distributions/symbolic-link-preserving-tar.tar" + extension).toFile();
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

        public NoticeTask() {
            setDescription("Create a notice file from dependencies");
            // Default licenses directory is ${projectDir}/licenses (if it exists)
            File licensesDir = new File(getProject().getProjectDir(), "licenses");
            if (licensesDir.exists()) {
                licensesDirs.add(licensesDir);
            }
        }
    
        /**
         * Add notices from the specified directory.
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

         */
        private FileCollection dependencies;
    
        /**
         * The directory to find the license and sha files in.
         */
        private File licensesDir = new File(getProject().getProjectDir(), "licenses");
    
        /**
         * A map of patterns to prefix, used to find the LICENSE and NOTICE file.
         */
        private Map<String, String> mappings = new LinkedHashMap<>();
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java

                t.getOutputs().doNotCacheIf("Build cache is disabled for packaging tests", Specs.satisfyAll());
                t.setMaxParallelForks(1);
                t.setWorkingDir(project.getProjectDir());
                if (System.getProperty(IN_VM_SYSPROP) == null) {
                    t.dependsOn(deps);
                }
                configure.execute(t);
            });
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 28 21:31:21 GMT 2021
    - 23.1K bytes
    - Click Count (0)
Back to Top