Skip to content

Commit

Permalink
Actually attach Javadocs jar files to build (#2988)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Leing <leint@amazon.com>
  • Loading branch information
tjleing and Thomas Leing authored Aug 23, 2022
1 parent a91f1d4 commit 363bb66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ afterEvaluate { project ->
if (project.getPlugins().hasPlugin('com.android.application') ||
project.getPlugins().hasPlugin('com.android.library')) {
archives androidSourcesJar
archives androidJavadocsJar
} else {
archives sourcesJar
}
Expand Down
1 change: 0 additions & 1 deletion scripts/maven-release-publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ phases:
- echo 'Build phase starting.'
- |
JAVA_HOME=$JDK_8_HOME ./gradlew clean build
./gradlew androidJavadocsJar
for task_name in $(./gradlew tasks --all | grep uploadArchives | cut -d " " -f 1); do
echo "Gradle task $task_name"
JAVA_HOME=$JDK_8_HOME ./gradlew $task_name;
Expand Down

0 comments on commit 363bb66

Please sign in to comment.