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 Feb 1, 2025
1 parent 1210ed8 commit 884ef31
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .bacon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ test_suites:
criteria: MERGE
queue_name: small
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: small
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

0 comments on commit 884ef31

Please sign in to comment.