Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor theme generator gradle plugin and optimize sarif results #95

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

lamba92
Copy link
Collaborator

@lamba92 lamba92 commented Aug 22, 2023

This commit includes the optimization and refactor of the codebase. In the build.gradle files, the 'intUiLight' and 'intUiDark' themes have been registered and their properties have been updated. The Theme Generation plugin has been changed to use project conventions and the color group reading process was simplified. Sarif results are now generated with kotlinx.sarif, which allows fluent API for handling the sarif format. Also, it includes switching from the java-sarif library to kotlin-sarif.

The changes enhance the robustness and reliability of the code. They also make it easier to understand, modify, and maintain the code. And using Kotlin-based libraries optimizes the performance and simplifies future changes in the project.

@lamba92 lamba92 requested a review from rock3r August 22, 2023 10:37
@rock3r rock3r added this to the Build 0.5.0 (milestone 5) milestone Aug 22, 2023
This commit includes the optimization and refactor of the codebase. In the build.gradle files, the 'intUiLight' and 'intUiDark' themes have been registered and their properties have been updated. The Theme Generation plugin has been changed to use project conventions and the color group reading process was simplified. There is an optimized caching strategy particularly for SVG loading. Sarif results are now generated with kotlinx.sarif, which allows fluent API for handling the sarif format. Also, it includes switching from the java-sarif library to kotlin-sarif.

The changes enhance the robustness and reliability of the code. They also make it easier to understand, modify, and maintain the code. And using Kotlin-based libraries optimizes the performance and simplifies future changes in the project.
The build config file has been updated to use a cleaner syntax. The redundant use of .set() has been replaced with direct assignment for better readability. Also, added a suppression for UnstableApiUsage warning at the top of the files.
@lamba92 lamba92 force-pushed the lamberto.basti/fix_ci branch from b061dd5 to f04a1a4 Compare August 23, 2023 12:23
@rock3r rock3r enabled auto-merge (squash) August 23, 2023 12:49
@rock3r rock3r merged commit 6abad2c into main Aug 23, 2023
@rock3r rock3r deleted the lamberto.basti/fix_ci branch August 23, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants