Versions for kotlin, gradle, IntelliJ, Java #421
Replies: 8 comments
-
PR #196 upgraded 7.5.1 to gradle 7.6-rc-1 in order to fix gradle/gradle#22423 PR #203 downgraded to gradle 7.4.2 in order to fix problems with test failures. |
Beta Was this translation helpful? Give feedback.
-
We could try upgrading kotlin to 1.8 and downgrading gradle to 7.3.3. OTOH, the docs say
So we could also go back to trying gradle 7.6 Read https://kotlinlang.org/docs/gradle-configure-project.html for lots of confusing details. |
Beta Was this translation helpful? Give feedback.
-
We could try upgrading Java to 11 or 17 and see if theres a performance inprovement. |
Beta Was this translation helpful? Give feedback.
-
(6/2/23) IntelliJ About IntelliJ IDEA 2023.1.2 (Ultimate Edition) Runtime version: 17.0.6+10-b829.9 amd64 Kotlin: 231-1.8.21-IJ9011.34 Gradle ./gradlew wrapper --gradle-version 8.1.1 ./gradlew --version |
Beta Was this translation helpful? Give feedback.
-
Protobuf pbandk 0.14.2 is now stable to regnerate proto files (not needed unless you are changing them
|
Beta Was this translation helpful? Give feedback.
-
(6/30/22) |
Beta Was this translation helpful? Give feedback.
-
7/1/22 ./gradlew wrapper --gradle-version 8.2 |
Beta Was this translation helpful? Give feedback.
-
Compiling with Java 19. language level 17, jvmTarget 1.8.
|
Beta Was this translation helpful? Give feedback.
-
Kotlin
Currently we are using kotlin 1.7.21, (bug fix for 1.7.20 available since 9/29/2022)
This supports IntelliiJ 2021.3, 2022.1, and 2022.2.
Compatible with Gradle 6.7.1 – 7.1.1
A new version of kotlin, 1.8.0 is available since 12/28/22
This supports IntelliJ 2021.3, 2022.1, 2022.2
Compatible with Gradle 6.8.3 – 7.3.3
The kotlin version is set all over the place in build.gradle.kts and settings.gradle.kts (this should be centralized, FIXED see PR#259)
Gradle
The version of gradle is set in gradle/wrapper/gradle-wrapper.properties To check, run
Currently using Gradle 7.4.2.
Latest version of Gradle is 7.6
See Upgrade Gradle
Might not be the best thing to get ahead of the currently supported version. Perhaps revert?
IntelliJ
The version of IntelliJ is controlled by user download. Currently I have
IntelliJ 2022.3.1, Dec 20, 2022
Kotlin Plugin 223-1.7.21-release-272 is bundled, supports Kotlin 1.7.20 and lower.
2023.1 is in EAP, not clear what version of kotlin or gradle it will support.
Might not be the best thing to get ahead of the currently supported version.
Java version
By default, the Kotlin/JVM compiler produces Java 8 compatible bytecode.
Starting with version 1.8.0, the compiler can generate classes with a bytecode version corresponding to JVM 19. One must set the target Java version (presumably there should be some efficiencies to do so), in egklib/build.gradle.kts:
Beta Was this translation helpful? Give feedback.
All reactions