Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/license-finder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: License Finder

on:
workflow_dispatch:
workflow_call:
pull_request:
branches: ["main"]

jobs:
license_finder:
if: github.repository_owner == 'viamrobotics'
name: Audit 3rd-Party Licenses
runs-on: ubuntu-latest
container:
image: ghcr.io/viamrobotics/canon:amd64-cache
timeout-minutes: 30

steps:
- uses: actions/checkout@v4

- name: Setup Java JDK
uses: actions/setup-java@v4.2.1
with:
java-version: '17'
distribution: 'temurin'

- name: Run license finder
run: license_finder
18 changes: 13 additions & 5 deletions android/sdk/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'

ext.pomDisplayName = "Viam Android SDK"

buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:8.2.2'
}
}

plugins {
id "com.github.hierynomus.license-report" version "0.16.1"
}

apply plugin: 'com.android.library'
apply plugin: 'maven-publish'

ext.pomDisplayName = "Viam Android SDK"

android {
defaultConfig {
Expand Down Expand Up @@ -54,3 +57,8 @@ dependencies {
implementation 'io.grpc:grpc-android:1.61.1'
implementation 'commons-io:commons-io:2.15.1'
}

downloadLicenses {
includeProjectDependencies = true
dependencyConfiguration = 'runtimeClasspath'
}
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ subprojects {
if (project.name.contains("example")) {
return
}

if (project.plugins.hasPlugin("java")) {
compileTestJava {
sourceCompatibility = JavaVersion.VERSION_11
Expand Down
9 changes: 9 additions & 0 deletions core/sdk/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id "com.github.hierynomus.license-report" version "0.16.1"
}

apply plugin: 'java-library'

ext.pomDisplayName = "Viam Core SDK"
Expand All @@ -24,3 +28,8 @@ java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

downloadLicenses {
includeProjectDependencies = true
dependencyConfiguration = 'runtimeClasspath'
}
9 changes: 9 additions & 0 deletions core/services/mlmodel/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id "com.github.hierynomus.license-report" version "0.16.1"
}

apply plugin: 'java-library'

ext.pomDisplayName = "Viam Core SDK - MLModel Service"
Expand All @@ -14,3 +18,8 @@ java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

downloadLicenses {
includeProjectDependencies = true
dependencyConfiguration = 'runtimeClasspath'
}
56 changes: 56 additions & 0 deletions doc/dependency_decisions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
- - :permit
- Apache 2.0
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- MIT
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- BSD-3-Clause
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- BSD
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- Simplified BSD
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- ISC License (ISCL)
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- Historical Permission Notice and Disclaimer (HPND)
- :who:
:why:
:versions: []
:when: 2022-09-16 15:36:22.534210576 Z
- - :permit
- Public Domain
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :license
- viam-core-sdk
- Apache 2.0
- :who:
:why:
:versions: []
:when: 2024-03-27 22:23:35.592731361 Z
9 changes: 9 additions & 0 deletions java/sdk/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id "com.github.hierynomus.license-report" version "0.16.1"
}

apply plugin: 'java-library'

ext.pomDisplayName = "Viam Java SDK"
Expand All @@ -20,3 +24,8 @@ java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

downloadLicenses {
includeProjectDependencies = true
dependencyConfiguration = 'runtimeClasspath'
}
8 changes: 8 additions & 0 deletions java/services/mlmodel/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id "com.github.hierynomus.license-report" version "0.16.1"
}

apply plugin: 'java-library'

ext.pomDisplayName = "Viam Java SDK - MLModel Service"
Expand All @@ -15,3 +19,7 @@ java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

downloadLicenses {
dependencyConfiguration = 'runtime'
}