From 95a7c4f474e907d2daabe116711322e22344ba52 Mon Sep 17 00:00:00 2001 From: Quentin Hibon Date: Tue, 12 Jan 2021 17:36:11 +0100 Subject: [PATCH] Fix gradle task 'ktlintApplyToIdea' --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index f0f8e01f5..7732d0fd9 100644 --- a/build.gradle +++ b/build.gradle @@ -5,4 +5,11 @@ plugins { id "org.jetbrains.kotlin.android.extensions" version "$KOTLIN_VERSION" apply false id "org.jetbrains.kotlin.multiplatform" version "1.4.21" apply false id "org.jlleitschuh.gradle.ktlint" version "9.4.1" +} + +// Needed for ktlint. Taken from: https://github.com/JLLeitschuh/ktlint-gradle/issues/181#issuecomment-443146206 +allprojects { + repositories { + mavenCentral() + } } \ No newline at end of file