- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for thirdPartyAudit (0.27 seconds)
-
build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/ThirdPartyAuditTaskIT.java
public class ThirdPartyAuditTaskIT extends GradleIntegrationTestCase { @Override public String projectName() { return "thirdPartyAudit"; } @Before public void setUp() throws Exception { // Build the sample jars getGradleRunner().withArguments(":sample_jars:build", "-s").build(); // propagate jdkjarhell jarCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditPrecommitPlugin.java
t.setOutputDir(resourcesDir.toFile()); t.copy("forbidden/third-party-audit.txt"); }); TaskProvider<ThirdPartyAuditTask> audit = project.getTasks().register("thirdPartyAudit", ThirdPartyAuditTask.class); audit.configure(t -> { t.dependsOn(resourcesTask); t.setJavaHome(Jvm.current().getJavaHome().getPath());
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 3.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java
public void setJavaHome(String javaHome) { this.javaHome = javaHome; } @Internal public File getJarExpandDir() { return new File(new File(getProject().getBuildDir(), "precommit/thirdPartyAudit"), getName()); } @OutputFile public File getSuccessMarker() { return new File(getProject().getBuildDir(), "markers/" + getName()); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 16.2K bytes - Click Count (0) -
build-tools-internal/src/main/resources/forbidden/third-party-audit.txt
# to these rules, so please try to keep the false positive rate low! # # Each third party .class failing checks will need to be explicitly # listed in the module's build.gradle file: # # thirdPartyAudit.excludes = [ # // uses internal java api: sun.misc.Unsafe # 'org.foo.Bar', # // missing class! # 'com.missing.dependency.WTF', # // ... # ] #
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3K bytes - Click Count (0)