-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (61 loc) · 2.24 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compile_sdk_version = 28
target_sdk_version = 28
// Version
libVersionName = "0.9.0"
libVersionCode = 90
versions = [
'kotlin' : '1.3.31',
'kotlin_env' : 'jdk8',
// https://github.com/sheungon/AndroidEasyLog
'android_ec_log': '1.0.0',
//////// For bintray publishing ////////
/*
* Gradle Android Maven plugin
* Use 2.0 for gradle version 4.1+
* https://github.com/dcendents/android-maven-gradle-plugin
* */
'gradle_maven_plugin': '2.1',
/*
* Gradle Bintray Plugin
* https://github.com/bintray/gradle-bintray-plugin
* */
'bintray_plugin' : '1.8.4',
// Kotlin doc
// https://github.com/Kotlin/dokka
'dokka' : '0.9.17',
//////// For unit testing ////////
// https://developer.android.com/topic/libraries/testing-support-library/packages.html
'espresso' : '3.1.0',
]
deps = [
//////// For unit testing ////////
// http://junit.org/junit4/
'junit': 'junit:junit:4.12'
]
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$versions.bintray_plugin"
classpath "com.github.dcendents:android-maven-gradle-plugin:$versions.gradle_maven_plugin"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:$versions.dokka"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}