Skip to content

Move src/main/ to src/jsMain/ (Kotlin 2.x source layout)#113

Merged
krzema12 merged 1 commit into
masterfrom
prelim-move
May 22, 2026
Merged

Move src/main/ to src/jsMain/ (Kotlin 2.x source layout)#113
krzema12 merged 1 commit into
masterfrom
prelim-move

Conversation

@krzema12
Copy link
Copy Markdown
Collaborator

Pure structural change: move all Kotlin source files and resources from src/main/ to src/jsMain/ across web, web/worker, and web/serviceworker projects.

Temporary kotlin.srcDirs entries added to build.gradle.kts files so the project still compiles on Kotlin 1.5.10.

No code changes. Verified builds with ./gradlew compileKotlinJs for all three subprojects.

This is a pure structural move — no code changes. The old Kotlin 1.x
source layout (src/main/kotlin) is replaced with the Kotlin 2.x layout
(src/jsMain/kotlin). Temporary source dir overrides are added to
build.gradle.kts files so the project still compiles on Kotlin 1.5.10.
@krzema12 krzema12 merged commit 4d9d5d5 into master May 22, 2026
6 checks passed
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.

1 participant