Skip to content

Commit cdf1621

Browse files
committed
added extra scan option for file list and graalvm compliation
1 parent 52f9e4a commit cdf1621

File tree

8 files changed

+570
-5
lines changed

8 files changed

+570
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Upcoming changes...
1313

14+
## [0.5.1] - 2023-08-11
15+
### Added
16+
- Added support for scanning a file list (`scanFileList`)
17+
- Added maven support for GraalVM compilation
18+
1419
## [0.5.0] - 2023-07-26
1520
### Added
1621
- Switched to okhttp for REST communication
@@ -37,3 +42,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3742
[0.2.0]: https://github.com/scanoss/scanoss.java/compare/v0.0.0...v0.2.0
3843
[0.4.0]: https://github.com/scanoss/scanoss.java/compare/v0.2.0...v0.4.0
3944
[0.5.0]: https://github.com/scanoss/scanoss.java/compare/v0.4.0...v0.5.0
45+
[0.5.1]: https://github.com/scanoss/scanoss.java/compare/v0.5.0...v0.5.1

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ deploy: ## Deploy the package to central repos
3333
@echo "Deploying latest package..."
3434
mvn deploy
3535

36+
native: ## Run maven native binary build
37+
@echo "Running native package..."
38+
mvn -Pnative -DskipTests package -X
39+
3640
inc_patch: ## Increment the patch version on pom.xml
3741
@echo "Incrementing patch version..."
3842
mvn build-helper:parse-version versions:set -DnewVersion='$${parsedVersion.majorVersion}.$${parsedVersion.minorVersion}.$${parsedVersion.nextIncrementalVersion}' versions:commit

config/jni-config.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"name":"com.scanoss.cli.CommandLine",
4+
"methods":[{"name":"main","parameterTypes":["java.lang.String[]"] }]
5+
},
6+
{
7+
"name":"java.lang.Boolean",
8+
"methods":[{"name":"getBoolean","parameterTypes":["java.lang.String"] }]
9+
},
10+
{
11+
"name":"java.lang.String",
12+
"methods":[{"name":"lastIndexOf","parameterTypes":["int"] }, {"name":"substring","parameterTypes":["int"] }]
13+
},
14+
{
15+
"name":"java.lang.System",
16+
"methods":[{"name":"getProperty","parameterTypes":["java.lang.String"] }, {"name":"setProperty","parameterTypes":["java.lang.String","java.lang.String"] }]
17+
}
18+
]

0 commit comments

Comments
 (0)