This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 172
/
Copy pathbuild.gradle
80 lines (68 loc) · 2.42 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
76
77
78
79
80
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
mavenCentral()
maven {
url 'https://maven.google.com'
}
}
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
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven {
url 'https://maven.google.com'
}
}
}
// Variables for entire project
ext {
// SDK versions
minSdkVersion = 16
targetSdkVersion = 26
compileSdkVersion = 26
buildToolsVersion = "26.0.1"
sourceCompatibilityVersion = JavaVersion.VERSION_1_7
targetCompatibilityVersion = JavaVersion.VERSION_1_7
// Common versions
supportLibraryVersion = "26.0.0"
butterKnifeVersion = "7.0.1"
daggerVersion = "2.8"
// POM file
GROUP = "com.github.brianPlummer"
VERSION_NAME = "0.1.3-snapshot"
POM_PACKAGING = "pom"
POM_DESCRIPTION = "Tiny Dancer"
POM_URL = "https://github.com/friendlyrobotnyc/TinyDancer/"
POM_SCM_URL = "https://github.com/friendlyrobotnyc/TinyDancer/"
POM_SCM_CONNECTION = "scm:git:https://github.com/friendlyrobotnyc/TinyDancer.git"
POM_SCM_DEV_CONNECTION = "scm:git:[email protected]:friendlyrobotnyc/TinyDancer.git"
POM_LICENCE_NAME = "The MIT License (MIT)"
POM_LICENCE_URL = "https://opensource.org/licenses/MIT"
POM_LICENCE_DIST = "repo"
POM_DEVELOPER_ID = "brianPlummer"
POM_DEVELOPER_NAME = "Brian Plummer"
}
// Dependencies
ext.deps = [
// compile
appcompatv7 : "com.android.support:appcompat-v7:${supportLibraryVersion}",
supportDesign : "com.android.support:design:$supportLibraryVersion",
recyclerviewv7 : "com.android.support:recyclerview-v7:${supportLibraryVersion}",
butterknife : "com.jakewharton:butterknife:${butterKnifeVersion}",
dagger : "com.google.dagger:dagger:${daggerVersion}",
// annotationProcessor
daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}",
// provided
javaxAnnotation: "org.glassfish:javax.annotation:10.0-b28",
// testCompile
junit : "junit:junit:4.12",
assertJ : "org.assertj:assertj-core:1.7.1"
]