Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Feb 28, 2024
1 parent b449340 commit e729cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/de.cyface.android-publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ project.android.libraryVariants.all { variant ->
}

// Setup Javadoc and source tasks for all build variants.
def javaDocDestDir = file("${buildDir}/docs/javadoc")
def javaDocDestDir = layout.buildDirectory.dir("docs/javadoc")
// Using `tasks.create` as with `task.register` the `destinationDir` is not found
def javadoc = tasks.create("javadoc", Javadoc) {
description "Generates Javadoc."
Expand Down

0 comments on commit e729cb7

Please sign in to comment.