-
Notifications
You must be signed in to change notification settings - Fork 28
/
build.gradle
46 lines (36 loc) · 1.32 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// Last Git tag name on current branch
final GIT_TAG_NAME = 'git describe --tags --abbrev=0'.execute([], project.rootDir).text.trim()
// Total number of tags in the app
final GIT_TAG_COUNT = 'git tag --list'.execute([], project.rootDir).text.split("\n").size()
ext {
bintrayUser = 'jakubkinst'
bintrayRepo = 'cz.kinst.jakub'
publishedGroupId = 'cz.kinst.jakub'
libraryName = 'Android-StatefulLayout'
libraryDescription = 'A custom Android ViewGroup to display different states of screen (CONTENT, PROGRESS, OFFLINE, EMPTY, etc.)'
siteUrl = 'https://github.com/jakubkinst/Android-StatefulLayout'
gitUrl = 'https://github.com/jakubkinst/Android-StatefulLayout'
libraryVersion = GIT_TAG_NAME
developerId = 'jakubkinst'
developerName = 'Jakub Kinst'
developerEmail = 'jakub@kinst.cz'
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()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
}
}
allprojects {
repositories {
jcenter()
}
}