-
Notifications
You must be signed in to change notification settings - Fork 0
Migrate to the CoreJvm Compiler #235
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates the project from using the McJava compiler to the new CoreJvm Compiler, updating plugin references, dependencies, and configuration blocks throughout the codebase.
- Updates copyright year from 2024 to 2025
- Replaces McJava plugin references with CoreJvmCompiler across build files
- Updates dependency versions and artifacts in Maven POM
- Migrates configuration syntax from
modelCompiler.java.codegen
tospine.coreJvm.compiler
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
proto/build.gradle.kts | Updates plugin classpath and plugin ID from mc-java to core-jvm |
pom.xml | Replaces protodata and mc-java dependencies with new compiler artifacts |
java-tests/extensions/build.gradle.kts | Migrates import and configuration syntax to CoreJvmCompiler |
java-tests/build.gradle.kts | Updates plugin import and application logic |
java-runtime/build.gradle.kts | Updates classpath dependency to use CoreJvmCompiler |
dependencies.md | Auto-generated dependency report with updated timestamps |
buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt | Updates version constants for the new compiler |
buildSrc/src/main/kotlin/ForcePlugins.kt | Migrates from mcJava to CoreJvmCompiler references |
buildSrc/src/main/kotlin/BuildExtensions.kt | Removes deprecated McJava shortcut extensions |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 12 out of 13 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
# Conflicts: # buildSrc/src/main/kotlin/BuildExtensions.kt # dependencies.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 32 out of 34 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #235 +/- ##
============================================
+ Coverage 28.11% 34.12% +6.00%
- Complexity 201 282 +81
============================================
Files 129 136 +7
Lines 3126 3226 +100
Branches 246 249 +3
============================================
+ Hits 879 1101 +222
+ Misses 2178 2048 -130
- Partials 69 77 +8 🚀 New features to boost your workflow:
|
This PR migrates the build to use CoreJvm Compiler. Integration tests under
java-tests
were restored.Other notable changes
buildSrc
recently adopted in CoreJvm Compiler were also applied to this project.deprecation
warning inValidatingOptionsLoader
.