Skip to content

Commit b3a0641

Browse files
authored
make the project compile even with the app not having dependency on Kotlin (#869)
1 parent 8fe2fff commit b3a0641

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ buildscript {
33
repositories {
44
google()
55
mavenCentral()
6+
gradlePluginPortal()
67
}
78

89
dependencies {
910
classpath "com.android.tools.build:gradle:7.2.2"
1011
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12+
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.0.0"
1113
}
1214
}
1315

14-
plugins {
15-
id "com.android.library"
16-
id "kotlin-android"
17-
id "org.jlleitschuh.gradle.ktlint" version "11.0.0"
18-
}
16+
apply plugin: "com.android.library"
17+
apply plugin: "kotlin-android"
18+
apply plugin: "org.jlleitschuh.gradle.ktlint"
1919

2020
group "vn.hunghd.flutterdownloader"
2121
version "1.0-SNAPSHOT"

0 commit comments

Comments
 (0)