File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ buildscript {
7
7
dependencies {
8
8
classpath ' com.android.tools.build:gradle:2.1.0'
9
9
classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
10
+ classpath " com.github.dcendents:android-maven-gradle-plugin:1.3"
10
11
}
11
12
}
12
13
Original file line number Diff line number Diff line change 1
1
apply plugin : ' maven-publish'
2
+ apply plugin : ' com.github.dcendents.android-maven'
3
+
4
+ version = version
5
+ group = GROUP
6
+
7
+ install {
8
+ repositories. mavenInstaller {
9
+ // This generates POM.xml with proper parameters
10
+ pom. project {
11
+ name POM_NAME
12
+ artifactId POM_ARTIFACT_ID
13
+ packaging POM_PACKAGING
14
+ description POM_DESCRIPTION
15
+ url POM_URL
16
+
17
+ scm {
18
+ url POM_SCM_URL
19
+ }
20
+
21
+ licenses {
22
+ license {
23
+ name POM_LICENCE_NAME
24
+ url POM_LICENCE_URL
25
+ Distribution POM_LICENCE_DIST
26
+ }
27
+ }
28
+
29
+ developers {
30
+ developer {
31
+ id POM_DEVELOPER_ID
32
+ name POM_DEVELOPER_NAME
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
38
+
2
39
3
40
task androidJavadocs (type : Javadoc ) {
4
41
source = android. sourceSets. main. java. srcDirs
You can’t perform that action at this time.
0 commit comments