This repository has been archived by the owner on Oct 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
81 lines (70 loc) · 2.66 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
81
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.novoda:bintray-release:0.4.0'
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
def majorVersion = 0
def minorVersion = 9
def patchVersion = 0
versionCode = majorVersion * 10000 + minorVersion * 100 + patchVersion
versionName = "${majorVersion}.${minorVersion}.${patchVersion}"
exampleJavaVersions = [
sourceCompatibility: JavaVersion.VERSION_1_7,
targetCompatibility: JavaVersion.VERSION_1_7,
]
libraryJavaVersions = [
sourceCompatibility: JavaVersion.VERSION_1_7,
targetCompatibility: JavaVersion.VERSION_1_7,
]
processorJavaVersions = [
sourceCompatibility: JavaVersion.VERSION_1_8,
targetCompatibility: JavaVersion.VERSION_1_8,
]
androidVersions = [
minSdk : 16,
targetSdk : 25,
compileSdk : 25,
buildTools : '25.0.1',
supportLibrary: '24.2.1'
]
jacocoVersion = '0.7.7.201606060606'
metadata = [
userOrg : 't28',
repoName: 'maven',
groupId : 'io.t28',
version : versionName,
website : 'https://github.com/t28hub/shade',
licences: ['Apache-2.0'],
]
dependency = [
android : 'com.google.android:android:4.1.1.4',
appcompat : "com.android.support:appcompat-v7:${androidVersions.supportLibrary}",
supportAnnotations: "com.android.support:support-annotations:${androidVersions.supportLibrary}",
recyclerView : "com.android.support:recyclerview-v7:${androidVersions.supportLibrary}",
javapoet : 'com.squareup:javapoet:1.7.0',
guice : 'com.google.inject:guice:4.1.0',
guava : 'com.google.guava:guava:20.0',
autoService : 'com.google.auto.service:auto-service:1.0-rc2',
jsr305 : 'com.google.code.findbugs:jsr305:3.0.1',
junit : 'junit:junit:4.12',
assertjCore1 : 'org.assertj:assertj-core:1.7.1',
assertjCore3 : 'org.assertj:assertj-core:3.5.2',
assertjAndroid : 'com.squareup.assertj:assertj-android:1.1.1',
mockitoAll : 'org.mockito:mockito-all:2.0.2-beta',
compileTesting : 'com.google.testing.compile:compile-testing:0.10',
robolectric : 'org.robolectric:robolectric:3.1.4',
]
}