Skip to content

Conversation

@sandwwraith
Copy link
Member

No description provided.

@sandwwraith sandwwraith requested a review from qwwdfsad November 21, 2022 16:14
@JvmStatic
@JvmOverloads
fun Project.configureJava9ModuleInfo(multiRelease: Boolean = true) {
val disableJPMS = this.rootProject.extra.has("disableJPMS")
Copy link
Member

Choose a reason for hiding this comment

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

or Idea.isActive?

Copy link
Member Author

Choose a reason for hiding this comment

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

good idea

Also add stdlib-jdk8 to Hocon dependencies explicitly for java.time.Duration.toKotlinDuration()
(not sure why it was available without this dep though)
@sandwwraith sandwwraith merged commit b749dd1 into dev Nov 23, 2022
@sandwwraith sandwwraith deleted the improve-building branch November 23, 2022 17:15
fred01 pushed a commit to fred01/kotlinx.serialization that referenced this pull request Nov 24, 2022
Add idea.active to disableJPMS check to avoid red code in IDE.

Also add stdlib-jdk8 to Hocon dependencies explicitly for java.time.Duration.toKotlinDuration()
(not sure why it was available without this dep though)
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