Skip to content

Commit

Permalink
added extra scan option for file list and graalvm compliation
Browse files Browse the repository at this point in the history
  • Loading branch information
eeisegn committed Aug 11, 2023
1 parent 52f9e4a commit cdf1621
Show file tree
Hide file tree
Showing 8 changed files with 570 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Upcoming changes...

## [0.5.1] - 2023-08-11
### Added
- Added support for scanning a file list (`scanFileList`)
- Added maven support for GraalVM compilation

## [0.5.0] - 2023-07-26
### Added
- Switched to okhttp for REST communication
Expand All @@ -37,3 +42,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[0.2.0]: https://github.com/scanoss/scanoss.java/compare/v0.0.0...v0.2.0
[0.4.0]: https://github.com/scanoss/scanoss.java/compare/v0.2.0...v0.4.0
[0.5.0]: https://github.com/scanoss/scanoss.java/compare/v0.4.0...v0.5.0
[0.5.1]: https://github.com/scanoss/scanoss.java/compare/v0.5.0...v0.5.1
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ deploy: ## Deploy the package to central repos
@echo "Deploying latest package..."
mvn deploy

native: ## Run maven native binary build
@echo "Running native package..."
mvn -Pnative -DskipTests package -X

inc_patch: ## Increment the patch version on pom.xml
@echo "Incrementing patch version..."
mvn build-helper:parse-version versions:set -DnewVersion='$${parsedVersion.majorVersion}.$${parsedVersion.minorVersion}.$${parsedVersion.nextIncrementalVersion}' versions:commit
Expand Down
18 changes: 18 additions & 0 deletions config/jni-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"name":"com.scanoss.cli.CommandLine",
"methods":[{"name":"main","parameterTypes":["java.lang.String[]"] }]
},
{
"name":"java.lang.Boolean",
"methods":[{"name":"getBoolean","parameterTypes":["java.lang.String"] }]
},
{
"name":"java.lang.String",
"methods":[{"name":"lastIndexOf","parameterTypes":["int"] }, {"name":"substring","parameterTypes":["int"] }]
},
{
"name":"java.lang.System",
"methods":[{"name":"getProperty","parameterTypes":["java.lang.String"] }, {"name":"setProperty","parameterTypes":["java.lang.String","java.lang.String"] }]
}
]
Loading

0 comments on commit cdf1621

Please sign in to comment.