Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,6 @@ internal fun Project.setupGradleSyncVersionsTask(
gradlePropertiesContent.removeAll { it.startsWith("kotlin.code.style=") }
gradlePropertiesContent.add("kotlin.code.style=official")
}
if ("kotlin.incremental=false" !in gradlePropertiesContent) {
gradlePropertiesContent.removeAll { it.startsWith("kotlin.incremental=") }
gradlePropertiesContent.add(
"""
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
""".trimIndent(),
)
}

gradleProperties.writeText(gradlePropertiesContent.joinToString("\n"))

Expand Down
6 changes: 4 additions & 2 deletions docs/StardustDocs/topics/Compiler-Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,16 @@ Setup library dependency:
implementation("org.jetbrains.kotlinx:dataframe:%dataFrameVersion%")
```

Due to the [known issue](https://youtrack.jetbrains.com/issue/KT-66735), incremental compilation must be disabled for now.
If you're using a version older than Kotlin 2.4.0,
incremental compilation must be disabled due to [this issue](https://youtrack.jetbrains.com/issue/KT-66735),

Add the following line to your `gradle.properties` file:

```properties
kotlin.incremental=false
```

Sync the project.
Sync the project. This is not needed anymore from Kotlin 2.4.0+.

</tab>

Expand Down
3 changes: 2 additions & 1 deletion docs/StardustDocs/topics/setup/Modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ plugins {
</tab>
</tabs>

Due to [this issue](https://youtrack.jetbrains.com/issue/KT-66735), incremental compilation must be disabled for now.
If you're using a version older than Kotlin 2.4.0,
incremental compilation must be disabled due to [this issue](https://youtrack.jetbrains.com/issue/KT-66735).
Add the following line to your `gradle.properties` file:

```properties
Expand Down
4 changes: 3 additions & 1 deletion docs/StardustDocs/topics/setup/SetupAndroid.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ plugins {
</tab>
</tabs>

Due to [this issue](https://youtrack.jetbrains.com/issue/KT-66735), incremental compilation must be disabled for now.
If you're using a version older than Kotlin 2.4.0,
incremental compilation must be disabled due to [this issue](https://youtrack.jetbrains.com/issue/KT-66735),

Add the following line to your `gradle.properties` file:

```properties
Expand Down
4 changes: 3 additions & 1 deletion docs/StardustDocs/topics/setup/SetupGradle.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ plugins {
</tab>
</tabs>

Due to the [known issue](https://youtrack.jetbrains.com/issue/KT-66735), incremental compilation must be disabled for now.
If you're using a version older than Kotlin 2.4.0,
incremental compilation must be disabled due to [this issue](https://youtrack.jetbrains.com/issue/KT-66735),

Add the following line to your `gradle.properties` file:

```properties
Expand Down
3 changes: 0 additions & 3 deletions examples/projects/android-example/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/dev/android-example/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/dev/exposed/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/dev/hibernate/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/dev/json-openapi/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/dev/kotlin-spark/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/dev/movies/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/dev/multik/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/dev/titanic/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/dev/youtube/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/exposed/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/hibernate/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/json-openapi/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/kotlin-spark/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/movies/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/multik/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/spark-parquet-dataframe/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/titanic/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
3 changes: 0 additions & 3 deletions examples/projects/youtube/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
org.gradle.jvmargs=-Xmx1g -Dfile.encoding=UTF-8
kotlin.code.style=official
# Disabling incremental compilation will no longer be necessary
# when https://youtrack.jetbrains.com/issue/KT-66735 is resolved.
kotlin.incremental=false
2 changes: 0 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ org.gradle.jvmargs=-Xmx5G -XX:MaxMetaspaceSize=1G -Duser.language=en -Duser.coun
# It can also be turned on from the command line with `-Pkotlin.dataframe.debug=true`
kotlin.dataframe.debug=false

kotlin.incremental=false

# Can speed up build time but stops KDocs from being preprocessed.
# It can also be turned on from the command line with `-PskipKodex`
# skipKodex=true
Expand Down
Loading