File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
plugins/src/main/java/com/google/firebase/gradle/plugins Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import java.io.File
2020import java.io.FileOutputStream
2121import java.io.OutputStream
2222import javax.inject.Inject
23- import org.gradle.api.Action
2423import org.gradle.api.DefaultTask
2524import org.gradle.api.Project
2625import org.gradle.api.artifacts.Configuration
@@ -36,7 +35,6 @@ import org.gradle.api.tasks.OutputDirectory
3635import org.gradle.api.tasks.OutputFile
3736import org.gradle.api.tasks.TaskAction
3837import org.gradle.process.ExecOperations
39- import org.gradle.process.JavaExecSpec
4038
4139val Project .metalavaConfig: Configuration
4240 get() =
@@ -103,7 +101,7 @@ abstract class GenerateStubsTask @Inject constructor(private val execOperations:
103101 " --include-annotations" ,
104102 " --doc-stubs" ,
105103 outputDir.absolutePath,
106- )
104+ ),
107105 )
108106 }
109107}
Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ abstract class ChangedModulesTask : DefaultTask() {
5151 val projects =
5252 AffectedProjectFinder (project, changedGitPaths.toSet(), listOf ())
5353 .find()
54- .filter { ! onlyFirebaseSDKs || it.extensions.findByType<FirebaseLibraryExtension >() != null }
54+ .filter {
55+ ! onlyFirebaseSDKs || it.extensions.findByType<FirebaseLibraryExtension >() != null
56+ }
5557 .map { it.path }
5658 .toSet()
5759
Original file line number Diff line number Diff line change @@ -255,7 +255,11 @@ enum class DeltaType {
255255 (allAfterMethods.keys intersect allBeforeMethods.keys).forEach {
256256 val afterMethod = allAfterMethods.get(it)
257257 val beforeMethod = allBeforeMethods.get(it)
258- if (beforeMethod != null && afterMethod != null && ! beforeMethod.exceptions.containsAll(afterMethod.exceptions)) {
258+ if (
259+ beforeMethod != null &&
260+ afterMethod != null &&
261+ ! beforeMethod.exceptions.containsAll(afterMethod.exceptions)
262+ ) {
259263 apiDeltas.add(
260264 Delta (
261265 after!! .name,
@@ -282,7 +286,11 @@ enum class DeltaType {
282286 (allAfterMethods.keys intersect allBeforeMethods.keys).forEach {
283287 val afterMethod = allAfterMethods.get(it)
284288 val beforeMethod = allBeforeMethods.get(it)
285- if (afterMethod != null && beforeMethod != null && ! afterMethod.exceptions.containsAll(beforeMethod.exceptions)) {
289+ if (
290+ afterMethod != null &&
291+ beforeMethod != null &&
292+ ! afterMethod.exceptions.containsAll(beforeMethod.exceptions)
293+ ) {
286294 apiDeltas.add(
287295 Delta (
288296 after!! .name,
You can’t perform that action at this time.
0 commit comments