forked from okta/okta-sdk-appauth-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (53 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
54
55
56
57
58
59
60
61
62
63
64
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:2.3.3"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
subprojects {
repositories {
jcenter()
maven { url "https://maven.google.com" }
}
}
ext {
versionNum = 1
versionName = "0.1.0"
versionDate = new Date()
// These properties should remain in sync with the values from the AppAuth SDK
minSdkVersion = 16
compileSdkVersion = 25
buildToolsVersion = "25.0.2"
supportLibVersion = "25.3.1"
// SDK dependency versions
appAuthVersion = "0.6.1"
okioVersion = "1.13.0"
bintrayVersion = "1.7.3"
gradlePluginVersion = "1.5"
// Example app dependency versions
glideVersion = "3.8.0"
jodaTimeVersion = "2.9.9"
// Test dependency versions
junitVersion = "4.12"
mockitoVersion = "2.8.47"
robolectricVersion = "3.4.2"
assertjVersion = "1.1.1"
// Gradle plugin version
checkstyleVersion = "8.1"
saxonVersion = "8.7"
}
task showVersion {
doLast {
logger.lifecycle("Version ID: " + project.versionNum)
logger.lifecycle("Version Name: " + project.versionName)
logger.lifecycle("Version Date: " + project.versionDate)
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}