Skip to content

Commit

Permalink
Make sure all properties are annotated, in preparation for Gradle 6
Browse files Browse the repository at this point in the history
Gradle 6 nags users with a deprecation warning in case a property
is not annotated; this should silence it.

Fixes #37
  • Loading branch information
tbroyer committed Oct 22, 2019
1 parent c02c859 commit cbb5c17
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import org.gradle.api.logging.Logging
import org.gradle.api.plugins.ExtensionAware
import org.gradle.api.plugins.JavaBasePlugin
import org.gradle.api.tasks.ClasspathNormalizer
import org.gradle.api.tasks.Internal
import org.gradle.api.tasks.Nested
import org.gradle.api.tasks.Optional
import org.gradle.api.tasks.SourceSetContainer
Expand Down Expand Up @@ -143,7 +144,7 @@ internal class ErrorProneCompilerArgumentProvider(
private val errorproneOptions: ErrorProneOptions
) : CommandLineArgumentProvider, Named {

override fun getName(): String = "errorprone"
@Internal override fun getName(): String = "errorprone"

@Suppress("unused")
@Nested
Expand Down

0 comments on commit cbb5c17

Please sign in to comment.