Fixed kotlinter.
This commit is contained in:
parent
03d2590aee
commit
bd0b011fe7
2 changed files with 4 additions and 2 deletions
|
@ -3,7 +3,7 @@ plugins {
|
||||||
id 'kotlin-android'
|
id 'kotlin-android'
|
||||||
id 'kotlin-android-extensions'
|
id 'kotlin-android-extensions'
|
||||||
id 'kotlin-kapt'
|
id 'kotlin-kapt'
|
||||||
id 'org.jmailen.kotlinter' version '2.1.1'
|
id 'org.jmailen.kotlinter'
|
||||||
id 'com.github.ben-manes.versions' version '0.25.0'
|
id 'com.github.ben-manes.versions' version '0.25.0'
|
||||||
id 'io.gitlab.arturbosch.detekt' version '1.0.1'
|
id 'io.gitlab.arturbosch.detekt' version '1.0.1'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
ext.kotlin_version = '1.3.41'
|
ext.kotlin_version = '1.3.50'
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
google()
|
google()
|
||||||
|
maven { url = uri("https://plugins.gradle.org/m2/") }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.5.0'
|
classpath 'com.android.tools.build:gradle:3.5.0'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
|
classpath 'org.jmailen.gradle:kotlinter-gradle:2.1.1'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue