-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
54 lines (46 loc) · 1.56 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '1.7.20'
gradle_plugin_version = '7.4.2'
android_material_version = '1.6.1'
junit_version = '4.13.2'
junit5_version = '5.9.1'
mockito_core_version = '4.8.1'
mockito_inline_version = '4.8.1'
mockk_version = '1.13.2'
robolectric_version = '4.9'
xmlunit_version = '2.9.0'
// AndroidX
androidx_appcompat_version = '1.5.1'
androidx_constraintlayout_version = '2.1.4'
androidx_multidex_version = '2.0.1'
androidx_test_runner_version = '1.4.0'
androidx_espresso_version = '3.4.0'
// Nexus
nexus_publish_plugin_version = '1.1.0'
}
repositories {
maven { url "https://plugins.gradle.org/m2/" }
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.github.gradle-nexus:publish-plugin:$nexus_publish_plugin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply plugin: 'io.github.gradle-nexus.publish-plugin'
apply from: "${rootDir}/scripts/publish-root.gradle"
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}