[SQLite] [CC-1966] [Kotlin] Use gradle and upgrade to 2.2 #148
Merged
Conversation
- Replaced Maven with Gradle for build configuration. - Updated entry point for SQLite implementation to `app/src/main/kotlin/App.kt`. - Enhanced `.gitignore` to include Gradle-specific files and directories. - Added `gradle.properties` and `settings.gradle.kts` for Gradle setup. - Updated `codecrafters.yml` to use Kotlin version 2.2. - Adjusted shell scripts for Gradle build and execution. - Removed deprecated `Main.kt` file.
- Added `sdkRef` parameter to specify the SDK version. - Updated job permissions to allow read access to contents and write access for checks and pull requests. - Configured secrets to inherit from the repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Switch Kotlin starter/solutions from Maven to Gradle, update entrypoint and run flow, bump buildpack to kotlin-2.2, and adjust CI/Docker accordingly.
compiled_starters/kotlin,starter_templates/kotlin, andsolutions/kotlin/01-dr6(.codecrafters/compile.sh,.codecrafters/run.sh,your_program.sh).settings.gradle.kts,app/build.gradle.kts,gradle.properties,gradle/libs.versions.toml./tmp/codecrafters-build-sqlite-kotlin/distributions..gitignorewith Gradle/Kotlin/IDE artifacts.app/src/main/kotlin/App.ktand reflect inREADME.md,explanation.md, and starterconfig.yml(also switchrequired_executableto Gradle 9.1.0).kotlin-2.2incodecrafters.ymland adddockerfiles/kotlin-2.2.Dockerfile(Gradle JDK24 base, cache handling)..github/workflows/test.ymlwithwith: sdkRef: main, permissions, andsecrets: inherit.Written by Cursor Bugbot for commit 25ce411. This will update automatically on new commits. Configure here.