-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
184 lines (158 loc) · 4.6 KB
/
Copy pathbuild.gradle
File metadata and controls
184 lines (158 loc) · 4.6 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'maven-publish'
group = 'com.psyphertxt'
archivesBaseName = 'cyfalibrary'
version = '0.0.2-SNAPSHOT'
publishing {
repositories {
maven {
url myMavenRepoWriteUrl
credentials {
username 'myMavenRepo'
password myMavenRepoReadPassword
}
}
}
publications {
aar(MavenPublication) {
groupId group
artifactId archivesBaseName
version project.version
// // Optional
// pom.withXml {
// asNode().appendNode('name','Dependency Name')
// asNode().appendNode('description','Dependency Description')
// asNode().appendNode('url','http://medyo.github.com')
// }
artifact("$buildDir/outputs/aar/${archivesBaseName}-release.aar") }
}
}
ext {
PUBLISH_GROUP_ID = 'com.psyphertxt' //Change this to your own domain
PUBLISH_ARTIFACT_ID = 'cyfalibrary' //Change this to the name of your library
PUBLISH_VERSION = '1.1.8' // Version code you want. 1.0.0 is a good start
}
allprojects {
repositories {
maven {
url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo'
}
jcenter()
mavenCentral()
}
}
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'io.realm:realm-gradle-plugin:2.3.1'
}
}
repositories {
maven {
url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo'
}
}
apply plugin: 'realm-android'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
}
}
}
configurations {
javadocDeps
}
dependencies {
final FIREBASE_VERSION = '10.2.4'
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-annotations:25.3.1'
javadocDeps 'com.android.support:support-annotations:25.3.1'
androidTestCompile 'junit:junit:4.+'
androidTestCompile 'com.jayway.android.robotium:robotium-solo:+'
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
testCompile 'junit:junit:4.12'
compile ('com.parse.bolts:bolts-android:1.4.0'){
transitive = true
}
compile ('com.parse.bolts:bolts-applinks:1.4.0'){
transitive = true
}
compile ('com.parse:parse-android:1.13.1'){
transitive = true
}
/* Firebase */
compile ("com.google.firebase:firebase-database:$FIREBASE_VERSION"){
transitive = true
}
compile ("com.google.firebase:firebase-storage:$FIREBASE_VERSION"){
transitive = true
}
compile ("com.google.firebase:firebase-auth:$FIREBASE_VERSION"){
transitive = true
}
compile ("com.google.firebase:firebase-messaging:$FIREBASE_VERSION"){
transitive = true
}
compile ("com.google.firebase:firebase-core:$FIREBASE_VERSION"){
transitive = true
}
compile ("com.google.firebase:firebase-invites:$FIREBASE_VERSION"){
transitive = true
}
compile ("com.google.code.gson:gson:2.7"){
transitive = true
}
compile 'com.scottyab:aescrypt:0.0.1'
compile 'id.zelory:compressor:1.0.2'
compile ('com.sromku:simple-storage:1.2.0'){
transitive = true
}
compile ('com.facebook.stetho:stetho:1.4.2'){
transitive = true
}
compile ('com.uphyca:stetho_realm:2.0.0'){
transitive = true
}
}
//
//task sourcesJar(type: Jar) {
// from android.sourceSets.main.java.srcDirs
// classifier = 'sources'
//}
//
task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += configurations.javadocDeps
}
//
//task javadocJar(type: Jar, dependsOn: javadoc) {
// classifier = 'javadoc'
// from javadoc.destinationDir
//}
//
//artifacts {
// archives javadocJar
// archives sourcesJar
//}
apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'