Skip to content

Commit

Permalink
proper gradle cache
Browse files Browse the repository at this point in the history
  • Loading branch information
duplexsystem committed Dec 6, 2023
1 parent 601d174 commit e4df8dc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,12 @@ pluginManagement {
}
}
}

// settings.gradle.kts
val isCiServer = System.getenv().containsKey("CI")
// Cache build artifacts, so expensive operations do not need to be re-computed
buildCache {
local {
isEnabled = !isCiServer
}
}

0 comments on commit e4df8dc

Please sign in to comment.