You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by md...@apache.org on 2022/04/06 18:43:10 UTC
[solr] branch main updated: Ignore 3rd Party JS in Lift (#786)
This is an automated email from the ASF dual-hosted git repository.
mdrob pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new a60cf6d3b08 Ignore 3rd Party JS in Lift (#786)
a60cf6d3b08 is described below
commit a60cf6d3b08b6a591a270545ac7cc1a0379f54ed
Author: Mike Drob <md...@apache.org>
AuthorDate: Wed Apr 6 13:43:04 2022 -0500
Ignore 3rd Party JS in Lift (#786)
---
.lift.toml | 9 +++++++--
gradle/documentation/render-javadoc.gradle | 2 +-
.../render-javadoc/prettify/{prettify.js => prettify.min.js} | 0
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/.lift.toml b/.lift.toml
index ffd95663b32..da2f2e5449f 100644
--- a/.lift.toml
+++ b/.lift.toml
@@ -1,5 +1,10 @@
-# This file can configure Muse PR static analysis.
+# This file can configure Lift PR static analysis.
# Docs for adding, removing or changing checks can be found here:
-# https://docs.muse.dev/docs/repository-configuration/
+# https://help.sonatype.com/lift/configuration-reference
jdkVersion = "11"
+ignoreFiles = '''
+**/test/**
+**/*.min.js
+solr/webapp/web/libs/*.js
+'''
diff --git a/gradle/documentation/render-javadoc.gradle b/gradle/documentation/render-javadoc.gradle
index c56f609be5e..b207e49a8cb 100644
--- a/gradle/documentation/render-javadoc.gradle
+++ b/gradle/documentation/render-javadoc.gradle
@@ -399,7 +399,7 @@ class RenderJavadocTask extends DefaultTask {
// append prettify to scripts
ant.concat(destfile: "${outputDir}/script.js", append: "true", fixlastline: "true", encoding: "UTF-8") {
- filelist(dir: project.file("${taskResources}/prettify"), files: "prettify.js inject-javadocs.js")
+ filelist(dir: project.file("${taskResources}/prettify"), files: "prettify.min.js inject-javadocs.js")
}
ant.fixcrlf(srcdir: outputDir, includes: "stylesheet.css script.js", eol: "lf", fixlast: "true", encoding: "UTF-8")
diff --git a/gradle/documentation/render-javadoc/prettify/prettify.js b/gradle/documentation/render-javadoc/prettify/prettify.min.js
similarity index 100%
rename from gradle/documentation/render-javadoc/prettify/prettify.js
rename to gradle/documentation/render-javadoc/prettify/prettify.min.js