File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ buildscript {
4
4
jcenter()
5
5
}
6
6
dependencies {
7
- classpath ' com.android.tools.build:gradle:1.1.0 '
7
+ classpath ' com.android.tools.build:gradle:1.1.2 '
8
8
}
9
9
}
10
10
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
+ apply plugin : ' maven'
2
3
3
4
dependencies {
4
5
compile fileTree(dir : ' libs' , include : ' *.jar' )
@@ -43,3 +44,33 @@ android {
43
44
release. setRoot(' build-types/release' )
44
45
}
45
46
}
47
+
48
+ uploadArchives {
49
+ repositories. mavenDeployer {
50
+ pom. groupId = ' com.tenmiles'
51
+ pom. artifactId = ' helpstack'
52
+ pom. version = ' 1.1.2'
53
+ // Add other pom properties here if you want (developer details / licenses)
54
+ repository(url : " file:///Users/anirudh/Desktop/gradleRelease/" )
55
+ }
56
+ }
57
+
58
+ task androidJavadocs (type : Javadoc ) {
59
+ source = android. sourceSets. main. java. srcDirs
60
+ classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
61
+ }
62
+
63
+ task androidJavadocsJar (type : Jar , dependsOn : androidJavadocs) {
64
+ classifier = ' javadoc'
65
+ from androidJavadocs. destinationDir
66
+ }
67
+
68
+ task androidSourcesJar (type : Jar ) {
69
+ classifier = ' sources'
70
+ from android. sourceSets. main. java. srcDirs
71
+ }
72
+
73
+ artifacts {
74
+ archives androidSourcesJar
75
+ archives androidJavadocsJar
76
+ }
You can’t perform that action at this time.
0 commit comments