Skip to content

Commit

Permalink
Add explicit Kotlin types
Browse files Browse the repository at this point in the history
These values are returned from Java code without nullability
information.  Kotlin needs a little extra help to know whether those
Java APIs can return `null` here or not.
  • Loading branch information
liblit committed Sep 5, 2023
1 parent 1f962e6 commit 4369ca2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ val mavenPublication =
}
}

val repositories = publishing.repositories
val repositories: RepositoryHandler = publishing.repositories

val mavenRepository =
val mavenRepository: MavenArtifactRepository =
repositories.maven {
url =
uri(
Expand Down

0 comments on commit 4369ca2

Please sign in to comment.