File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ android.libraryVariants.all { variant ->
34
34
35
35
android. libraryVariants. all { variant ->
36
36
37
- task(" generate${ variant.name} Javadoc" , type : Javadoc ) {
37
+ task(" generate${ variant.name.capitalize() } Javadoc" , type : Javadoc ) {
38
38
description " Generates Javadoc for $variant . name . "
39
39
source = variant. javaCompile. source
40
40
ext. androidJar = " ${ android.plugin.sdkDirectory} /platforms/${ android.compileSdkVersion} /android.jar"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if (isReleaseBuild()) {
15
15
println ' DEBUG BUILD'
16
16
sonatypeRepositoryUrl = " https://oss.sonatype.org/content/repositories/snapshots/"
17
17
}
18
- if (isReleaseBuild()){
18
+
19
19
if (ext. properties. containsKey(' signing.keyId' ) && ! ext. properties. containsKey(' signing.password' )) {
20
20
if (System . console())
21
21
ext. set(' signing.password' , System . console(). readPassword(" \n\$ Type in GPG key password: " ))
@@ -98,4 +98,3 @@ afterEvaluate { project ->
98
98
archives androidJavadocsJar
99
99
}
100
100
}
101
- }
You can’t perform that action at this time.
0 commit comments