Skip to content

Commit

Permalink
Merge pull request #50 from appwrite/dev
Browse files Browse the repository at this point in the history
Fix publish
  • Loading branch information
abnegate authored Mar 9, 2024
2 parents 7c4c939 + 8869bc9 commit 4826572
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![Maven Central](https://img.shields.io/maven-central/v/io.appwrite/sdk-for-android.svg?color=green&style=flat-square)
![License](https://img.shields.io/github/license/appwrite/sdk-for-android.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.5.0-blue.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.5.1-blue.svg?style=flat-square)
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
Expand Down
5 changes: 4 additions & 1 deletion scripts/publish-module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ tasks.register("sourcesJar", Jar) {

tasks.register("javadoc", Javadoc) {
source = android.sourceSets.getByName("main").java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
setDestinationDir(file("../javadoc/"))
failOnError false
}
Expand All @@ -19,6 +18,10 @@ tasks.register("javadocJar", Jar) {
from(javadoc)
}

afterEvaluate {
tasks.javadoc.classpath += files(project.android.getBootClasspath())
}

publishing {
publications {
release(MavenPublication) {
Expand Down

0 comments on commit 4826572

Please sign in to comment.