Skip to content

Commit

Permalink
Apply minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelLipski committed Oct 3, 2022
1 parent 1ee9241 commit 2c80601
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Use IntelliJ IDEA Community Edition/Ultimate.
when running IntelliJ instance with the Git Machete plugin loaded.

6. Enable annotation processing (for Lombok):
`File > Settings > Build, Execution, Deployment > Compiler > Annotation Processors > Enable Annotation Processing`.
`File > Settings > Build, Execution, Deployment > Compiler > Annotation Processors > Enable Annotation Processing`
(`Preferences > Build, Execution, Deployment > Compiler > Annotation Processors > Enable Annotation Processing` on macOS).
Select `Obtain annotation processors from classpath` radio box.

7. (optional) Increase maximum heap size for the IDE (the default value is 2048 MB) under `Help > Change Memory Settings`.
Expand All @@ -49,7 +50,7 @@ Use IntelliJ IDEA Community Edition/Ultimate.
To investigate the UI you may want to use `Tools > Internal Actions > UI > UI Inspector`.

9. (optional) Set `Class count before import with '*'` and `Names count to use static import with '*'` to a very high number (e.g. 500)
to avoid problems with CheckStyle when editing code. To do that go to `File > Settings > Code Style > Java/Kotlin/Scala`
to avoid problems with CheckStyle when editing code. To do that go to `File > Settings > Editor > Code Style > Java/Kotlin/Scala`
(`Preferences > Editor > Code Style > Java/Kotlin/Scala` on macOS).

### Git config/hooks
Expand Down Expand Up @@ -135,7 +136,7 @@ To watch the logs of this IntelliJ instance, run `tail -f build/idea-sandbox/sys
To debug the plugin using IntelliJ go to `Run > Edit Configurations...` and create a new Run Configuration for Gradle: </br>
![debug_configuration](docs/debug_configuration.png)

Now this new configuration can be chosen in the upper left corner of the IDE, and the debugging can be started with the Debug button or Shift+F9 (`^D` on macOS).
Now this new configuration can be chosen in the upper left corner of the IDE, and the debugging can be started with the Debug button or Shift+F9 (^D on macOS).


## Test
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ allprojects {
// (i.e. for X=8 and Y=11: InputStream#readAllBytes, Stream#takeWhile and String#isBlank).
// `options.release = X` makes sure that regardless of Java version used to run the compiler,
// only Java X-compatible APIs are available to the compiled code.
options.release.set(Integer.parseInt(targetJavaVersion.toString()))
options.release.set(Integer.parseInt(targetJavaVersion.majorVersion))
}

tasks.withType<Javadoc> {
Expand Down

0 comments on commit 2c80601

Please sign in to comment.