-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
68 lines (59 loc) · 1.5 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
}
}
apply plugin: 'com.android.library'
android {
repositories {
maven { url 'http://repo1.maven.org/maven2' }
}
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
minSdkVersion 9
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
buildTypes {
debug {
testCoverageEnabled true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
warningsAsErrors false
abortOnError true
}
}
dependencies {
testCompile 'junit:junit:4.12'
}
ext {
PUBLISH_GROUP_ID = 'com.albroco'
PUBLISH_ARTIFACT_ID = 'bare-bones-digest'
PUBLISH_VERSION = '1.0.2'
}
apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'
uploadArchives {
repositories.mavenDeployer {
pom.project {
licenses {
license {
name 'The MIT License (MIT)'
url 'http://opensource.org/licenses/MIT'
distribution 'repo'
}
}
description 'Implementation of HTTP digest authentication for Android'
url 'https://github.com/al-broco/bare-bones-digest'
}
}
}