Skip to content

Commit

Permalink
enable configuration cache (apollographql#5530)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin authored Jan 15, 2024
1 parent 374b039 commit ccb442a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
7 changes: 0 additions & 7 deletions build-logic/src/main/kotlin/Mpp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,6 @@ fun Project.configureMpp(

configureSourceSetGraph()
addTestDependencies()

tasks.withType(KotlinJsIrLink::class.java).configureEach {
notCompatibleWithConfigurationCache("https://youtrack.jetbrains.com/issue/KT-60311/")
}
tasks.withType(KotlinNativeLink::class.java).configureEach {
notCompatibleWithConfigurationCache("https://youtrack.jetbrains.com/issue/KT-60311/")
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ kotlin.stdlib.default.dependency=false
# Enable the build cache
org.gradle.caching=true
# Enable the configuration cache
# org.gradle.configuration-cache=true
org.gradle.configuration-cache=true

org.gradle.parallel=true

Expand Down
2 changes: 1 addition & 1 deletion tests/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kotlin.stdlib.default.dependency=false
# Enable the build cache
org.gradle.caching=true
# Enable the configuration cache
# org.gradle.configuration-cache=true
org.gradle.configuration-cache=true

org.gradle.parallel=true

Expand Down
6 changes: 0 additions & 6 deletions tests/gzip/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.targets.jvm.tasks.KotlinJvmTest

plugins {
id("org.jetbrains.kotlin.multiplatform")
id("com.apollographql.apollo3")
Expand Down Expand Up @@ -28,7 +26,3 @@ apollo {
packageName.set("gzip")
}
}

tasks.named("compileKotlinJvm").configure {
notCompatibleWithConfigurationCache("https://youtrack.jetbrains.com/issue/KT-60311/")
}

0 comments on commit ccb442a

Please sign in to comment.