Skip to content

Commit b68f954

Browse files
committed
Restrict the target to files within the same project
1 parent 00d36e5 commit b68f954

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fun Project.applySpotless() {
6161
ktfmt("0.41").googleStyle()
6262
}
6363
format("styling") {
64-
target("**/*.md")
64+
target("src/**/*.md", "*.md", "docs/**/*.md")
6565
targetExclude("**/third_party/**")
6666
prettier().config(mapOf("printWidth" to 100, "proseWrap" to "always"))
6767
}

plugins/src/main/java/com/google/firebase/gradle/plugins/CopyGoogleServicesPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ abstract class CopyGoogleServicesPlugin : Plugin<Project> {
4040
project.allprojects {
4141
// fixes dependencies with gradle tasks that do not properly dependOn `preBuild`
4242
tasks.configureEach {
43-
if (name !== "copyRootGoogleServices") mustRunAfter(copyRootGoogleServices)
43+
if (name !== "copyRootGoogleServices") dependsOn(copyRootGoogleServices)
4444
}
4545
}
4646

0 commit comments

Comments
 (0)