File tree 3 files changed +2
-33
lines changed
3 files changed +2
-33
lines changed Original file line number Diff line number Diff line change @@ -95,15 +95,6 @@ afterEvaluate { project ->
95
95
task androidJavadocs(type : Javadoc ) {
96
96
source = android. sourceSets. main. java. srcDirs
97
97
classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
98
- if (configurations. respondsTo(" javadocDeps" )) {
99
- classpath + = configurations. javadocDeps
100
- } else {
101
- classpath + = configurations. compile
102
- }
103
- if (JavaVersion . current(). isJava8Compatible()) {
104
- options. addStringOption(' Xdoclint:none' , ' -quiet' )
105
- }
106
- failOnError false
107
98
}
108
99
109
100
task androidJavadocsJar(type : Jar , dependsOn : androidJavadocs) {
Original file line number Diff line number Diff line change @@ -9,15 +9,4 @@ android {
9
9
}
10
10
}
11
11
12
- apply from : rootProject. file(' gradle/gradle-mvn-push.gradle' )
13
-
14
- android. libraryVariants. all { variant ->
15
- def name = variant. buildType. name
16
- if (name. equals(com.android.builder.core.BuilderConstants . DEBUG )) {
17
- return ; // Skip debug builds.
18
- }
19
- def task = project. tasks. create " jar${ name.capitalize()} " , Jar
20
- task. dependsOn variant. javaCompile
21
- task. from variant. javaCompile. destinationDir
22
- artifacts. add(' archives' , task);
23
- }
12
+ apply from : rootProject. file(' gradle/gradle-mvn-push.gradle' )
Original file line number Diff line number Diff line change @@ -13,15 +13,4 @@ dependencies {
13
13
compile ' com.jaredrummler:android-shell:1.0.0'
14
14
}
15
15
16
- apply from : rootProject. file(' gradle/gradle-mvn-push.gradle' )
17
-
18
- android. libraryVariants. all { variant ->
19
- def name = variant. buildType. name
20
- if (name. equals(com.android.builder.core.BuilderConstants . DEBUG )) {
21
- return ; // Skip debug builds.
22
- }
23
- def task = project. tasks. create " jar${ name.capitalize()} " , Jar
24
- task. dependsOn variant. javaCompile
25
- task. from variant. javaCompile. destinationDir
26
- artifacts. add(' archives' , task);
27
- }
16
+ apply from : rootProject. file(' gradle/gradle-mvn-push.gradle' )
You can’t perform that action at this time.
0 commit comments