File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -57,37 +57,18 @@ dependencies {
57
57
androidTestImplementation deps. androidxJunit
58
58
androidTestImplementation deps. androidxTestRunner
59
59
}
60
- // ---------------------------------------------
61
60
62
- // 指定编码
63
61
tasks. withType(JavaCompile ) {
64
62
options. encoding = " UTF-8"
65
63
}
66
64
67
- // 打包源码
68
65
task sourcesJar (type : Jar ) {
69
66
from android. sourceSets. main. java. srcDirs
70
67
archiveClassifier. set(" sources" )
71
68
}
72
69
73
- task javadoc (type : Javadoc ) {
74
- failOnError false
75
- source = android. sourceSets. main. java. sourceFiles
76
- classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
77
- classpath + = configurations. api
78
- classpath + = configurations. implementation
79
- classpath + = configurations. compileOnly
80
- }
81
-
82
- // 制作文档(Javadoc)
83
- task javadocJar (type : Jar , dependsOn : javadoc) {
84
- archiveClassifier. set(" javadoc" )
85
- from javadoc. destinationDir
86
- }
87
-
88
70
artifacts {
89
71
archives sourcesJar
90
- archives javadocJar
91
72
}
92
73
93
74
afterEvaluate {
You can’t perform that action at this time.
0 commit comments