Skip to content

Restructured setup guides to have compiler plugin closer to library dependency setup - #1949

Open
koperagen wants to merge 2 commits into
masterfrom
update-setup
Open

Restructured setup guides to have compiler plugin closer to library dependency setup#1949
koperagen wants to merge 2 commits into
masterfrom
update-setup

Conversation

@koperagen

Copy link
Copy Markdown
Collaborator
  1. Joined compiler plugin setup with library dependency setup as we discussed
  2. Updated maven setup, took inspiration from https://kotlinlang.org/docs/power-assert.html#maven
  3. Compacted Android setup. I believe all these JDK/minSdk were there only because we used to have a lot of extras for Apache Arrow setup. Turns out it doesn't work at all on Android. Our library doesn't impose any additional restrictions on JDK, i believe. Showing setup of 1.8 everywhere seems redundant. Maaybe we should leave minSdk? Let me know what you think.

dataframe doesn't really impose any additional requirements.
 It looks like leftovers from time when we had extra configuration
@koperagen koperagen added this to the 1.0 milestone Jul 24, 2026
@koperagen
koperagen requested a review from AndreiKingsley July 24, 2026 11:38
@koperagen koperagen self-assigned this Jul 24, 2026
@koperagen koperagen added the documentation Improvements or additions to documentation (not KDocs) label Jul 24, 2026
implementation("org.jetbrains.kotlinx:dataframe-json:%dataFrameVersion%")
implementation("org.jetbrains.kotlinx:dataframe-csv:%dataFrameVersion%")
// You can add any additional IO modules you like, except for 'dataframe-arrow'.
// Apache Arrow is not supported well on Android.

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.

*not well supported

@Jolanrensen

Jolanrensen commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

We can leave out minSdk I believe. Recently I had to bump it to 23 in our example, but this was due to AGP restrictions, not due to DataFrame. Targeting a higher JVM should also be fine, I think, so leaving it out too is probably best

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 reorganizes the Kotlin DataFrame setup documentation so the compiler plugin setup is presented alongside the library dependency setup, with refreshed Maven guidance and a more compact Android setup flow.

Changes:

  • Restructured Maven/Gradle setup pages into a single “Setup Kotlin DataFrame” section with ordered steps (plugin first, then library dependency).
  • Updated Maven compiler plugin configuration text and XML example placement.
  • Simplified and reordered Android setup instructions to mirror the same step-based approach.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
docs/StardustDocs/topics/setup/SetupMaven.md Combines compiler plugin and library dependency instructions into a single step-based setup flow for Maven.
docs/StardustDocs/topics/setup/SetupGradle.md Combines plugin + dependency setup into one flow and updates the incremental compilation note placement/text.
docs/StardustDocs/topics/setup/SetupAndroid.md Reorders content into “plugin then library” steps and compacts the configuration guidance/snippets.
docs/StardustDocs/topics/Compiler-Plugin.md Adjusts Maven setup wording and adds clarifying inline comments in the XML snippet.
Comments suppressed due to low confidence (2)

docs/StardustDocs/topics/setup/SetupGradle.md:73

  • The sentence about Kotlin < 2.4.0 is missing articles/punctuation and no longer explains what kotlin.incremental=false does or why it's needed. This makes the instruction harder to understand.
In versions older than Kotlin 2.4.0 add following line to your `gradle.properties`:

docs/StardustDocs/topics/setup/SetupAndroid.md:51

  • The instruction for Kotlin < 2.4.0 has grammar issues and doesn't explain that kotlin.incremental=false disables incremental compilation or why it’s required.
In versions older than Kotlin 2.4.0 add following line to your `gradle.properties`:

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

Comment on lines 74 to +76
The DataFrame compiler plugin can be used in Maven projects starting from IntelliJ IDEA 2025.3, available now as EAP builds

Setup plugin in pom.xml:
Update the `<kotlin-maven-plugin>` in the `<plugin>` section of your `pom.xml`::
Comment on lines +49 to +50
> Requires Kotlin 2.2.20-Beta1 or higher

Comment on lines +25 to +26
> Requires Kotlin 2.2.20-Beta1 or higher.

Comment on lines +89 to 92
implementation 'org.jetbrains.kotlinx:dataframe-csv:%dataFrameVersion%'
// You can add any additional IO modules you like, except for 'dataframe-arrow'.
// Apache Arrow is not supported well on Android.
}
@AndreiKingsley

Copy link
Copy Markdown
Collaborator

I will take a look!

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

Labels

documentation Improvements or additions to documentation (not KDocs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants