-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
67 lines (61 loc) · 2.5 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
'kotlin': '1.2.50',
'kotlinNative': '0.8',
'dokka': '0.9.16',
'jsr305': '3.0.2',
'junit': '4.12',
'assertj': '3.11.1',
'mockito': '2.21.0'
]
repositories {
google()
jcenter()
gradlePluginPortal()
maven {
url "https://plugins.gradle.org/m2/"
}
}
ext.deps = [
'kotlin': [
'gradlePlugin': "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
'reflect': "org.jetbrains.kotlin:kotlin-reflect:${versions.kotlin}",
'stdLib': [
'common': "org.jetbrains.kotlin:kotlin-stdlib-common:${versions.kotlin}",
'jdk8': "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}",
'jdk7': "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}",
'jdk6': "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}",
'js': "org.jetbrains.kotlin:kotlin-stdlib-js:${versions.kotlin}",
],
'test': [
'common': "org.jetbrains.kotlin:kotlin-test-common:${versions.kotlin}",
'annotations': "org.jetbrains.kotlin:kotlin-test-annotations-common:${versions.kotlin}",
'jdk': "org.jetbrains.kotlin:kotlin-test-junit:${versions.kotlin}",
],
],
'dokka': "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokka}",
'jsr305': "com.google.code.findbugs:jsr305:${versions.jsr305}",
'test': [
'mockitocore' : "org.mockito:mockito-core:${versions.mockito}",
'junit': "junit:junit:${versions.junit}",
'assertj': "org.assertj:assertj-core:${versions.assertj}",
]
]
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath deps.kotlin.gradlePlugin
classpath 'com.novoda:bintray-release:0.8.0'
// 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
}