diff --git a/android/build.gradle b/android/build.gradle index 0e8fa47d5..7ea3b6a7b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,19 +2,25 @@ buildscript { ext { kotlinVersion = '1.7.21' androidToolsVersion = '7.4.2' + ktlintVersion = '11.6.0' } repositories { google() mavenCentral() + maven { + url "https://plugins.gradle.org/m2/" + } } dependencies { classpath "com.android.tools.build:gradle:$androidToolsVersion" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" + classpath "org.jlleitschuh.gradle:ktlint-gradle:$ktlintVersion" } } apply plugin: 'com.android.library' apply plugin: 'kotlin-android' +apply plugin: 'org.jlleitschuh.gradle.ktlint' repositories { mavenLocal()