-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
71 lines (56 loc) · 2.24 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
apply plugin: 'com.android.library'
ext {
bintrayRepo = 'maven'
bintrayName = 'Logger'
publishedGroupId = 'ke.tang'
libraryName = 'Logger'
artifact = 'logger'
libraryDescription = 'Collect and manage Android logcat log automatically'
siteUrl = 'http://github.com/TangKe/Logger'
gitUrl = 'http://github.com/TangKe/Logger.git'
libraryVersion = versions.versionName
developerId = 'tangke'
developerName = 'Tang Ke'
developerEmail = '[email protected]'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
android {
compileSdkVersion versions.compileSdkVersion
defaultConfig {
minSdkVersion versions.minSdkVersion
targetSdkVersion versions.targetSdkVersion
versionCode versions.versionCode
versionName versions.versionName
vectorDrawables.useSupportLibrary = true
consumerProguardFiles 'proguard-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
tasks.javadoc {
configurations.implementation.setCanBeResolved(true)
classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) + configurations.implementation
options.encoding "UTF-8"
options.charSet 'UTF-8'
failOnError false
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.android.support:appcompat-v7:$versions.library.support"
implementation "com.android.support:recyclerview-v7:$versions.library.support"
implementation "com.android.support:design:$versions.library.support"
implementation "ke.tang:context-injector:$versions.library.contextInjector"
implementation "ke.tang:context-injector-annotations:$versions.library.contextInjector"
annotationProcessor "ke.tang:context-injector-compiler:$versions.library.contextInjector"
}