Remove ktlint from build.gradle
This commit is contained in:
parent
7d6f039263
commit
588f54ad4e
@ -15,15 +15,12 @@ buildscript {
|
|||||||
// noinspection DifferentKotlinGradleVersion
|
// noinspection DifferentKotlinGradleVersion
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
||||||
// ktlint
|
|
||||||
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.0.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
apply plugin: 'org.jlleitschuh.gradle.ktlint'
|
|
||||||
|
|
||||||
def getExtOrDefault(name) {
|
def getExtOrDefault(name) {
|
||||||
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['VisionCamera_' + name]
|
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['VisionCamera_' + name]
|
||||||
|
Loading…
Reference in New Issue
Block a user