-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (53 loc) · 2.22 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
apply plugin: 'java-library'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
}
}
allprojects {
repositories {
jcenter()
}
}
if (JavaVersion.current().isJava8Compatible()) {//disable linter for javadoc
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
ext {
//For bintray and jcenter distribution
bintrayRepo = 'v3-components-model'
bintrayName = 'v3-components-model'
publishedGroupId = 'agency.v3.components.model'
libraryName = 'v3-components-model'
artifact = 'v3-components-model' //This artifact name should be the same with library module name
libraryDescription = 'Base classes and utilities to implement Android app model layer, in a testable MVP fashion'
siteUrl = 'https://github.com/ousenko/v3-components-model'
gitUrl = '[email protected]:ousenko/v3-components-model.git'
libraryVersion = '0.1.1'
developerId = 'ousenko'
developerName = 'Drew'
developerEmail = '[email protected]'
// organization = '' // if you push to organization's repository.
licenseName = 'MIT License' //Example for license
licenseUrl = 'https://github.com/ousenko/v3-components-model/blob/master/LICENSE'
allLicenses = ["MIT"]
}
//These two remote files contain Bintray configuration as described above.
//apply from: 'https://raw.githubusercontent.com/quangctkm9207/template-files/master/android/gradle/install.gradle'
//apply from: 'https://raw.githubusercontent.com/quangctkm9207/template-files/master/android/gradle/bintray.gradle'
//Add these lines to publish library to bintray. This is the readymade scripts made by github user nuuneoi to make uploading to bintray easy.
//Place it at the end of the file
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
dependencies {
api 'io.reactivex.rxjava2:rxjava:2.1.7'
}
sourceCompatibility = "1.8"
targetCompatibility = "1.8"