-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
97 lines (80 loc) · 2.88 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
apply plugin: 'com.android.library'
apply plugin: 'android-apt'
def AAVersion = '4.2.0'
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
repositories {
mavenCentral()
mavenLocal()
}
ext {
bintrayRepo = 'maven'
bintrayName = 'android-oauth'
publishedGroupId = 'com.sequencing'
libraryName = 'Maven-Android-OAuth-Java'
artifact = 'android-oauth'
libraryDescription = 'Sequencing.com\'s OAuth2 as a Maven plugin for Android apps'
siteUrl = 'https://github.com/SequencingDOTcom/Maven-Android-OAuth-Java'
gitUrl = 'https://github.com/SequencingDOTcom/Maven-Android-OAuth-Java.git'
libraryVersion = '1.0.23'
developerId = 'Sequencing LLC'
developerName = 'Sequencing LLC'
developerEmail = 'maven@sequencing.com'
licenseName = 'MIT License'
licenseUrl = 'https://github.com/SequencingDOTcom/Maven-Android-OAuth-Java/blob/master/LICENSE'
allLicenses = ["MIT"]
}
android {
compileSdkVersion 22
buildToolsVersion "25.0.1"
defaultConfig {
minSdkVersion 19
targetSdkVersion 22
versionCode 3
versionName "1.0.23"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
compile 'com.sequencing:oauth2-core:1.7'
compile 'org.slf4j:slf4j-api:1.7.18'
compile files('libs/org.apache.http.legacy.jar')
apt "org.androidannotations:androidannotations:$AAVersion"
compile "org.androidannotations:androidannotations-api:$AAVersion"
apt ("org.androidannotations:rest-spring:4.2.0")
compile "org.androidannotations:rest-spring-api:4.2.0"
compile('org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'){
exclude module: 'support-v4'
}
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}
//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'