Skip to content

Commit

Permalink
Fix configs for tests and yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr3zee committed Aug 14, 2024
1 parent 847b6f4 commit a2a1c53
Show file tree
Hide file tree
Showing 5 changed files with 556 additions and 438 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ allprojects {

println("kotlinx.rpc project version: $version, Kotlin version: $kotlinVersion")

// If the prefix of the kPRC version is not Kotlin gradle plugin version - you have a problem :)
// Probably some dependency brings kotlin with higher version.
// To mitigate so, please refer to `gradle/kotlin-version-lookup.json`
// and it's usage in `gradle-conventions-settings/src/main/kotlin/settings-conventions.settings.gradle.kts`
// If the prefix of the kPRC version is not Kotlin gradle plugin version you have a problem :)
// Probably some dependency brings kotlin with the later version.
// To mitigate so, refer to `versions-root/kotlin-version-lookup.json`
// and its usage in `gradle-conventions-settings/src/main/kotlin/settings-conventions.settings.gradle.kts`
val kotlinGPVersion = getKotlinPluginVersion().kotlinVersionParsed()
if (kotlinVersion != kotlinGPVersion) {
error("KGP version mismatch. Project version: $kotlinVersion, KGP version: $kotlinGPVersion")
Expand Down
4 changes: 1 addition & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.workers.max=6
org.gradle.caching=true

# there is the problem with this one. Basically kspKotlin* tasks are skipped for some reason sometimes on CI
#org.gradle.unsafe.configuration-cache=true
org.gradle.configuration-cache=true

# development mode for kotlinx.rpc gradle plugin. Uses local project paths to apply ksp and compiler plugins
kotlinx.rpc.plugin.internalDevelopment=true
Expand Down
Loading

0 comments on commit a2a1c53

Please sign in to comment.