Skip to content
Open
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
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@ tasks {
named("runIde") {
dependsOn("copyInspections")
}

// Network-sensitive tasks: run ONLY when not in --offline mode
// You'll probaly need to prime your caches during an online phase, using a command such as:
// ./gradlew help --refresh-dependencies --no-daemon
matching { name in listOf("publishPlugin", "runPluginVerifier") }.configureEach {
onlyIf { !gradle.startParameter.isOffline }
}
}
tasks.getByName("buildSearchableOptions").onlyIf { false }

Expand Down