Skip to content

Conversation

@gpunto
Copy link
Collaborator

@gpunto gpunto commented Oct 29, 2025

We also need a plugin for java-library modules as we use those in some cases (e.g. in Chat).

@gpunto gpunto requested a review from Copilot October 29, 2025 16:55
Copy link

Copilot AI left a 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 adds support for Java/Kotlin JVM library modules by introducing a new convention plugin. The changes refactor the existing Kotlin configuration logic to be reusable across Android and pure JVM projects.

  • Introduces JavaLibraryConventionPlugin for non-Android Java/Kotlin library projects
  • Refactors Kotlin compiler configuration into a shared configureKotlin() function
  • Extracts Java configuration into a reusable configureJava() function

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
plugin/src/main/kotlin/io/getstream/android/StreamConventionPlugins.kt Adds JavaLibraryConventionPlugin class and refactors configuration functions to support both Android and pure JVM projects
plugin/build.gradle.kts Registers the new javaLibrary convention plugin with Gradle plugin portal

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gpunto gpunto force-pushed the java-library branch 2 times, most recently from 3a190b8 to b8f8875 Compare October 30, 2025 07:56
@gpunto gpunto requested a review from Copilot October 30, 2025 07:56
Copy link

Copilot AI left a 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 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gpunto gpunto requested a review from a team October 30, 2025 08:07
@gpunto gpunto marked this pull request as ready for review October 30, 2025 08:07
@aleksandar-apostolov aleksandar-apostolov merged commit 84de0fc into develop Oct 30, 2025
3 checks passed
@aleksandar-apostolov aleksandar-apostolov deleted the java-library branch October 30, 2025 11:02
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