-
Notifications
You must be signed in to change notification settings - Fork 77
/
build.gradle
74 lines (65 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
// Author
developerId = 'davideas'
developerName = 'Davide Steduto'
developerEmail = 'dave.dna@gmail.com'
// Library
libraryCode = 6
libraryVersion = '1.2.0'
libraryDate = " of 2018.09.30"
libraryName = 'FlipView'
libraryDescription = 'Flipping views like GMail & beyond'
// Library Repository
bintrayRepo = 'maven'
bintrayName = 'flipview'
publishedGroupId = 'eu.davidea'
artifact = bintrayName
siteUrl = 'https://github.com/davideas/FlipView'
gitUrl = 'https://github.com/davideas/FlipView.git'
// SDK and Build tools version
minSdk = 14
targetSdk = 28 // Android Pie
buildTools = "28.0.3"
// AndroidX
androidxVer = "1.0.0"
constraintVer = "1.1.2"
androidx = [
recyclerView : "androidx.recyclerview:recyclerview:${androidxVer}",
appCompat : "androidx.appcompat:appcompat:${androidxVer}",
cardView : "androidx.cardview:cardview:${androidxVer}",
annotation : "androidx.annotation:annotation:${androidxVer}",
constraintLayout: "com.android.support.constraint:constraint-layout:${constraintVer}"
]
// Google Material
googleVer = "1.0.0"
google = [
material: "com.google.android.material:material:${androidxVer}"
]
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
google()
maven { url "http://dl.bintray.com/davideas/maven" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}