forked from petrnohejl/alfonz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (74 loc) · 2.3 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
82
// 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 = 1 // max two digits
buildVersion = 0 // max three digits
androidxAnnotationVersion = "1.1.0"
androidxAppCompatVersion = "1.1.0"
androidxCollectionVersion = "1.1.0"
androidxExifInterfaceVersion = "1.0.0"
androidxFragmentVersion = "1.1.0"
androidxLifecycleVersion = "2.1.0"
androidxRecyclerViewVersion = "1.0.0"
androidxViewPagerVersion = "1.0.0"
gsonVersion = "2.8.5"
leakCanaryVersion = "1.6.3"
materialVersion = "1.0.0"
okHttpVersion = "4.2.0"
retrofitVersion = "2.6.2"
rxAndroidVersion = "2.1.1"
rxJavaVersion = "2.2.12"
rxRelayVersion = "2.1.1"
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.5.0"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
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
}