forked from petrnohejl/alfonz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (67 loc) · 2.04 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
// 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 = 9 // max two digits
patchVersion = 0 // max two digits
buildVersion = 0 // max three digits
androidArchVersion = "1.1.1"
androidSupportVersion = "27.1.1"
gsonVersion = "2.8.5"
leakCanaryVersion = "1.5.4"
okHttpVersion = "3.10.0"
retrofitVersion = "2.4.0"
rxAndroidVersion = "2.0.2"
rxJavaVersion = "2.1.16"
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 {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:3.1.3"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0"
classpath "com.github.dcendents:android-maven-gradle-plugin:2.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}