-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
71 lines (53 loc) · 2.2 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.2.50'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
ext {
// core dependencies
retrofit_version = '2.5.0'
// test dependencies
mockito_version = '2.0.0'
okhttp_version = '3.12.1'
concurrent_version = '0.4.4'
// bintray & maven config
bintrayRepo = 'maven'
bintrayName = 'simple-call-adapter'
publishedGroupId = 'com.igweze.ebi'
libraryName = 'Simple Call Adapter'
artifact = 'simple-call-adapter' // This artifact name should be the same with library module name
libraryDescription = 'Simple call adpater for retrofit, helps collapse response Callback interface into one callback function for kotlin or a Functional interface for java.'
siteUrl = 'https://github.com/ebi-igweze/simple-call-adapter'
gitUrl = 'https://github.com/ebi-igweze/simple-call-adapter.git'
libraryVersion = '1.0.1'
developerId = 'your_id'
developerName = 'Ebi Igweze'
developerEmail = '[email protected]'
// organization = 'your_organization' // if you push to organization's repository.
licenseName = 'The Apache Software License, Version 2.0' //Example for license
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
bintray_user = System.getenv 'BINTRAY_USER'
bintray_apikey = System.getenv 'BINTRAY_KEY'
bintray_gpg_password = System.getenv 'GPG_PASS_PHRASE'
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}