ppkarwasz commented on code in PR #4690:
URL: https://github.com/apache/solr/pull/4690#discussion_r3723864581
##########
solr/packaging/build.gradle:
##########
@@ -15,20 +15,438 @@
* limitations under the License.
*/
+import groovy.json.JsonOutput
+import groovy.json.JsonSlurper
+import java.security.MessageDigest
import org.apache.tools.ant.filters.ReplaceTokens
import org.apache.tools.ant.util.TeeOutputStream
+import org.cyclonedx.gradle.CyclonedxDirectTask
+import org.cyclonedx.model.Component
// This project puts together a "distribution", assembling dependencies from
// various other projects.
plugins {
id 'base'
id 'distribution'
+ // Registers the JVM attribute schema, so that the variant-aware resolution
of
+ // the CycloneDX BOM configurations below works like a Java runtime
classpath.
+ id 'jvm-ecosystem'
+}
+
+final APACHE_SNAPSHOTS_QUALIFIER =
'&repository_url=https:%2F%2Frepository.apache.org%2Fcontent%2Fgroups%2Fsnapshots%2F'
Review Comment:
I moved the script to `gradle/solr/sbom.gradle` in
https://github.com/apache/solr/pull/4690/commits/71b86bbc94a2a25fbbf8fcfc643b15c562513bc1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]