Skip to content

Commit

Permalink
Add snyk scans
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeepnanua-okta committed Jan 31, 2025
1 parent 865efb6 commit 762cbf2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .bacon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,13 @@ test_suites:
sort_order: '1'
timeout: '200'
criteria: MERGE
queue_name: small
queue_name: al2023
trigger: AUTO

- name: sca-scan
script_path: /root/okta/okta-mobile-kotlin/scripts/
sort_order: '1'
timeout: '200'
script_name: dependency_scan
criteria: MAINLINE
queue_name: al2023
2 changes: 1 addition & 1 deletion auth-foundation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ apply plugin: 'binary-compatibility-validator'

def copyKotlinTemplates = tasks.register('copyKotlinTemplates', Copy) {
from("src/main/kotlinTemplates")
into("$buildDir/generated/sources/kotlinTemplates")
into("${layout.buildDirectory.get()}/generated/sources/kotlinTemplates")
expand(projectVersion: project.version)
}

Expand Down
12 changes: 12 additions & 0 deletions scripts/dependency_scan.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

#####
## Build Environment Setup
#####
java17_0

#####
## Execute Dependency Scanning
#####

dependency_scan --configuration-matching=implementation

0 comments on commit 762cbf2

Please sign in to comment.