-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (42 loc) · 1.45 KB
/
build.gradle
File metadata and controls
51 lines (42 loc) · 1.45 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
androidToolsVersion = '3.0.1'
kotlinVersion = '1.2.21'
objectboxVersion = '1.4.3'
ossLicensesVersion = '0.9.1'
gradleVersionsPlugin = '0.17.0'
}
repositories {
jcenter()
google()
maven { url "http://objectbox.net/beta-repo/" }
}
dependencies {
classpath "com.android.tools.build:gradle:$androidToolsVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "io.objectbox:objectbox-gradle-plugin:$objectboxVersion"
classpath "com.google.gms:oss-licenses:$ossLicensesVersion"
// Run "./gradlew dependencyUpdates -Drevision=release" to check for library updates using this plugin
classpath "com.github.ben-manes:gradle-versions-plugin:$gradleVersionsPlugin"
}
}
allprojects {
repositories {
jcenter()
google()
maven { url "http://objectbox.net/beta-repo/" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
task runAllTests(dependsOn: ['runUnitTests', 'runInstrumentationTests']) {
description 'Run all tests'
}
task runUnitTests(dependsOn: [':app:testDebugUnitTest']) {
description 'Run all unit tests'
}
task runInstrumentationTests(dependsOn: [':app:connectedDebugAndroidTest']) {
description 'Run all instrumentation tests'
}