forked from petrnohejl/alfonz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (71 loc) · 2.18 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
//
// Usage:
// * gradlew install Build
// * gradlew bintrayUpload Upload to Bintray
// * gradlew :module:install Build a specific module
// * gradlew :module:bintrayUpload Upload a specific module to Bintray
//
// New release TO-DO:
// * Update version in gradle and doc
// * Update changelog
// * Build and test samples
// * Install library
// * Publish to Bintray
// * Commit
// * Add tag
// * Push
// * Merge to master
buildscript {
ext {
majorVersion = 0 // max two digits
minorVersion = 8 // max two digits
patchVersion = 0 // max two digits
buildVersion = 0 // max three digits
androidArchVersion = "1.0.0"
androidArchBetaVersion = "1.0.0-beta1"
androidSupportVersion = "26.1.0"
androidViewModelVersion = "1.3.3"
gsonVersion = "2.8.2"
leakCanaryVersion = "1.5.4"
okHttpVersion = "3.9.0"
retrofitVersion = "2.3.0"
rxAndroidVersion = "2.0.1"
rxJavaVersion = "2.1.4"
rxRelayVersion = "2.0.0"
bintrayRepo = "maven"
publishedGroupId = "org.alfonz"
libraryVersion = "${majorVersion}.${minorVersion}.${patchVersion}"
libraryDescription = "Mr. Alfonz is here to help you build your Android app, make a development process easier and avoid boilerplate code."
siteUrl = "https://github.com/petrnohejl/Alfonz"
gitUrl = "https://github.com/petrnohejl/Alfonz.git"
developerId = "alfonz"
developerName = "Alfonz"
developerEmail = ""
licenseName = "The Apache Software License, Version 2.0"
licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0.txt"
allLicenses = ["Apache-2.0"]
}
repositories {
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:2.3.3"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
classpath "com.github.dcendents:android-maven-gradle-plugin:1.5"
classpath "me.tatarka:gradle-retrolambda:3.7.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}