Skip to content

Add @JvmStatic annotation to Kotlin builders#771

Merged
kobylynskyi merged 1 commit into
kobylynskyi:developfrom
kbrooks:develop
Sep 3, 2021
Merged

Add @JvmStatic annotation to Kotlin builders#771
kobylynskyi merged 1 commit into
kobylynskyi:developfrom
kbrooks:develop

Conversation

@kbrooks

@kbrooks kbrooks commented Aug 13, 2021

Copy link
Copy Markdown
Contributor

Description

Related to #767

Adds @JvmStatic to the Kotlin builders so that they can be "backwards-compatible" with Java generated code.

CONTRIBUTING.md changed to mention Java 8 due to issue introduced in #741


Changes were made to:

  • Codegen library - Java
  • Codegen library - Kotlin
  • Codegen library - Scala
  • Maven plugin
  • Gradle plugin
  • SBT plugin

Comment thread CONTRIBUTING.md
```

10. Make sure that `example` projects are compiling and running.
11. Make sure that `example` projects are compiling and running.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you do this?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ci

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

install library and plugin and then compile example

@kbrooks

kbrooks commented Aug 21, 2021

Copy link
Copy Markdown
Contributor Author

A Scala test is failing in the sonar build and locally for me, which doesn't make sense because nothing I changed should affect Scala code.

@kobylynskyi kobylynskyi added this to the 5.3.0 milestone Aug 27, 2021
@kbrooks

kbrooks commented Aug 31, 2021

Copy link
Copy Markdown
Contributor Author

When can this get merged?

@kobylynskyi kobylynskyi merged commit 1ddbbf5 into kobylynskyi:develop Sep 3, 2021
@kobylynskyi kobylynskyi mentioned this pull request Sep 4, 2021
kobylynskyi pushed a commit that referenced this pull request Sep 5, 2021
Co-authored-by: Kyle <kbrooks@github.com>
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.

3 participants