-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
53 lines (45 loc) · 1.51 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.KOTLIN_VERSION = '1.5.21'
ext.ANDROID_GRADLE_PLUGIN_VERSION = '7.0.2'
ext.DOKKA_VERSION = '1.5.0'
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$ANDROID_GRADLE_PLUGIN_VERSION"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$DOKKA_VERSION"
}
}
plugins {
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
}
allprojects {
repositories {
google()
mavenCentral()
}
}
configure(allprojects) {
ext {
ANDROID_MIN_SDK_VERSION = 19
ANDROID_TARGET_SDK_VERSION = 30
ANDROID_COMPILE_SDK_VERSION = 30
TEST_RUNNER_VERSION = '1.4.0'
SUPER_REFLEKT_VERSION = '1.0.1'
// Sample app only
TEST_RULES_VERSION = '1.4.0'
TEST_EXT_VERSION = '1.1.3'
TEST_ORCHESTRATOR_VERSION = '1.4.0'
ESPRESSO_VERSION = '3.4.0'
APPCOMPAT_VERSION = '1.3.1'
MATERIAL_VERSION = '1.4.0'
CONSTRAINT_VERSION = '2.1.1'
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply from: "xrunner-library/scripts/publish-root.gradle"