/
build.gradle
54 lines (43 loc) · 1.37 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
apply plugin: 'com.android.library'
apply from: "$rootDir/tools/linters/linters.gradle"
ext {
bintrayRepo = 'maven'
bintrayName = 'canarinho'
bintrayUserOrg = 'concretesolutions'
publishedGroupId = 'br.com.concrete'
libraryName = 'Android Canarinho'
artifact = 'canarinho'
libraryDescription = 'Utilitários Android para padrões Brasileiros'
siteUrl = 'https://github.com/concretesolutions/canarinho'
gitUrl = 'https://github.com/concretesolutions/canarinho.git'
libraryVersion = '2.0.0'
developerId = 'cs-victor-nascimento'
developerName = 'Victor Oliveira Nascimento'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
minSdkVersion 15
targetSdkVersion 26
}
buildTypes {
debug {}
release {}
}
}
dependencies {
}
// Configura publicação
def localProps = project.rootProject.file('local.properties')
if (localProps.exists()) {
Properties properties = new Properties()
properties.load(localProps.newDataInputStream())
def user = properties.getProperty('bintray.user')
def apikey = properties.getProperty('bintray.apikey')
if (user && apikey)
apply from: 'publica.gradle'
}