forked from googlesamples/android-custom-lint-rules
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
33 lines (28 loc) · 779 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
buildscript {
ext {
kotlinVersion = '1.4.31'
// Current lint target: Studio 4.2 / AGP 7
//gradlePluginVersion = '4.2.0-beta05'
//lintVersion = '27.2.0-beta05'
// Upcoming lint target: Arctic Fox / AGP 7
gradlePluginVersion = '7.0.0-alpha10'
lintVersion = '30.0.0-alpha10' // if gradle plugin was 4.1.2, you'd use 27.1.2 here
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradlePluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}