Skip to content

Refactor OkHttp to use applyJavaModules() - #9628

Open
LouisLou2 wants to merge 1 commit into
lysine-dev:mainfrom
LouisLou2:issue-9103-kmp-java-modules
Open

Refactor OkHttp to use applyJavaModules()#9628
LouisLou2 wants to merge 1 commit into
lysine-dev:mainfrom
LouisLou2:issue-9103-kmp-java-modules

Conversation

@LouisLou2

Copy link
Copy Markdown

Summary

Refactor OkHttp's JPMS configuration to use the shared applyJavaModules() helper, consistent with the other modules.

Extend the helper to support Kotlin Multiplatform projects while preserving the existing JVM behavior and OkHttp's multi-release JAR configuration.

Closes #9103

Testing

  • ./gradlew :build-logic:spotlessCheck :okhttp:spotlessCheck :okhttp:jvmJar :module-tests:test -PokhttpModuleTests=true
  • Verified that the JVM JAR contains META-INF/versions/9/module-info.class
  • Verified that the manifest contains Multi-Release: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Gradle refactor applyJavaModules()

1 participant