Replace ktlint-gradle with kotlinter-gradle
This commit is contained in:
parent
1f3213ab4c
commit
f7ae7f3dea
1 changed files with 6 additions and 5 deletions
|
@ -1,24 +1,25 @@
|
|||
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
// For kotlinter-gradle
|
||||
maven(uri("https://plugins.gradle.org/m2/"))
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath("com.android.tools.build:gradle:7.1.0-alpha02")
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}")
|
||||
classpath("org.jetbrains.kotlin:kotlin-serialization:${Versions.kotlin}")
|
||||
classpath("com.squareup.sqldelight:gradle-plugin:${Versions.sqlDelight}")
|
||||
classpath("gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0")
|
||||
}
|
||||
plugins {
|
||||
id("org.jlleitschuh.gradle.ktlint") version Versions.ktlintGradle
|
||||
// kotlinter-gradle
|
||||
classpath("org.jmailen.gradle:kotlinter-gradle:3.4.5")
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
apply(plugin = "org.jlleitschuh.gradle.ktlint") // Version should be inherited from parent
|
||||
apply(plugin = "org.jmailen.kotlinter")
|
||||
|
||||
repositories {
|
||||
google()
|
||||
|
|
Loading…
Reference in a new issue