Skip to content

Commit

Permalink
[#513] feat(doc): Update license and notice files (#522)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

Add license plugin and update LICENSE and NOTICE files.

### Why are the changes needed?

To comply with license policy.

Fix: #513

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Report generated and compiled locally.

Co-authored-by: Justin Mclean <[email protected]>
Co-authored-by: Jerry Shao <[email protected]>
  • Loading branch information
3 people authored Oct 17, 2023
1 parent 590a67e commit 89e90f2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,7 @@
Apache Zeppelin
./integration-test/src/test/java/com/datastrato/gravitino/integration/util/CommandExecutor.java
./integration-test/src/test/java/com/datastrato/gravitino/integration/util/ProcessData.java

Apache Hadoop
./dev/docker/hive/hadoop-env.sh
./dev/docker/hive/yarn-env.sh
6 changes: 3 additions & 3 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ Copyright 2023 Datastrato
This product includes software developed at
Datastrato (https://Datastrato.com/).

This product includes software developed at
Datastrato (https://Datastrato.com/).

Apache Iceberg
Copyright 2017-2022 The Apache Software Foundation

Expand All @@ -19,5 +16,8 @@ Copyright 2008-2023 The Apache Software Foundation
Apache Zeppelin
Copyright 2016-2023 The Apache Software Foundation

Apache Hadoop
Copyright 2006 and onwards The Apache Software Foundation.

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ import com.github.vlsi.gradle.dsl.configureEach
import java.util.Locale
import org.gradle.internal.hash.ChecksumService
import org.gradle.kotlin.dsl.support.serviceOf
import com.github.jk1.license.render.ReportRenderer
import com.github.jk1.license.render.InventoryHtmlReportRenderer
import com.github.jk1.license.filter.DependencyFilter
import com.github.jk1.license.filter.LicenseBundleNormalizer

plugins {
`maven-publish`
Expand All @@ -19,8 +23,13 @@ plugins {
alias(libs.plugins.publish)
// Apply one top level rat plugin to perform any required license enforcement analysis
alias(libs.plugins.rat)
id("com.github.jk1.dependency-license-report") version "2.5"
}

licenseReport {
renderers = arrayOf<ReportRenderer>(InventoryHtmlReportRenderer("report.html", "Backend"))
filters = arrayOf<DependencyFilter>(LicenseBundleNormalizer())
}
repositories { mavenCentral() }

java {
Expand Down

0 comments on commit 89e90f2

Please sign in to comment.