File tree Expand file tree Collapse file tree 5 files changed +20
-6
lines changed
src/main/kotlin/com/hytaledocs/intellij/wizard Expand file tree Collapse file tree 5 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 1+ # Keep Unix line endings for shell scripts
2+ * .sh text eol =lf
3+ src /main /resources /gradle-wrapper /gradlew text eol =lf
Original file line number Diff line number Diff line change 66.qodana
77build
88.claude /
9+ local.properties
Original file line number Diff line number Diff line change 22
33## [ Unreleased]
44
5+ ## [ 1.4.2] - 2026-02-06
6+
7+ ### Fixed
8+
9+ - ** Linux/macOS: Gradle wrapper corrupted (CRLF line endings)** : Fixed gradlew script generated by project wizard
10+ - Source file had Windows CRLF line endings causing ` bash: ./gradlew: cannot execute: required file not found `
11+ - Converted bundled gradlew to Unix LF line endings
12+ - Added runtime conversion to ensure LF endings regardless of source
13+
514## [ 1.4.1] - 2026-02-06
615
716### Fixed
210219- Supports IntelliJ IDEA 2024.3+
211220- Requires Java 25 for Hytale development
212221
213- [ Unreleased ] : https://github.com/HytaleDocs/hytale-intellij-plugin/compare/v1.4.1...HEAD
222+ [ Unreleased ] : https://github.com/HytaleDocs/hytale-intellij-plugin/compare/v1.4.2...HEAD
223+ [ 1.4.2 ] : https://github.com/HytaleDocs/hytale-intellij-plugin/compare/v1.4.1...v1.4.2
214224[ 1.4.1 ] : https://github.com/HytaleDocs/hytale-intellij-plugin/compare/v1.4.0...v1.4.1
215225[ 1.4.0 ] : https://github.com/HytaleDocs/hytale-intellij-plugin/compare/v1.3.9...v1.4.0
216226[ 1.3.9 ] : https://github.com/HytaleDocs/hytale-intellij-plugin/compare/v1.3.7...v1.3.9
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pluginGroup = com.hytaledocs.hytale
44pluginName = Hytale Development Tools
55pluginRepositoryUrl = https://github.com/HytaleDocs/hytale-intellij-plugin
66# SemVer format -> https://semver.org
7- pluginVersion = 1.4.1
7+ pluginVersion = 1.4.2
88
99# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010pluginSinceBuild = 242
Original file line number Diff line number Diff line change @@ -679,12 +679,12 @@ class HytaleModuleBuilder : ModuleBuilder() {
679679 }
680680 }
681681
682- // Copy gradlew script (Unix)
682+ // Copy gradlew script (Unix) - ensure LF line endings
683683 javaClass.getResourceAsStream(" /gradle-wrapper/gradlew" )?.use { input ->
684684 val gradlewFile = File (basePath, " gradlew" )
685- gradlewFile.outputStream().use { output ->
686- input.copyTo(output )
687- }
685+ // Read content and ensure Unix line endings (LF only, no CRLF)
686+ val content = input.bufferedReader().readText().replace( " \r\n " , " \n " ).replace( " \r " , " \n " )
687+ gradlewFile.writeText(content)
688688 gradlewFile.setExecutable(true )
689689 }
690690
You can’t perform that action at this time.
0 commit comments