-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
33 lines (30 loc) · 1.05 KB
/
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
// Top-level variables used for versioning
ext.kotlin_version = '1.6.20'
ext.java_version = JavaVersion.VERSION_1_8
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.4.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
// https://github.com/android/testing-samples/blob/main/unit/BasicUnitAndroidTest/build.gradle
ext {
buildToolsVersion = "31.0.0"
androidxAnnotationVersion = "1.2.0"
coreVersion = "1.4.1-alpha03"
extJUnitVersion = "1.1.4-alpha03"
runnerVersion = "1.4.1-alpha03"
hamcrestVersion = "1.3"
truthVersion = "1.1.3"
}
task clean(type: Delete) {
delete rootProject.buildDir
}