Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting fixes #301

Merged
merged 2 commits into from
Apr 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ trim_trailing_whitespaces = false
indent_size=4
continuation_indent_size=4
charset = utf-8
kotlin_imports_layout = ascii

# Files with a smaller indent
[*.{java,xml}]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ internal class AnnotationScanner(

fun scanAnnotations(request: PluginToolsRequest): Map<String, MojoAnnotatedClass> {

return mojoAnnotationsScanner.scan(MojoAnnotationsScannerRequest().apply {
classesDirectories = listOf(File(request.project.build.outputDirectory!!))
dependencies = request.dependencies!!
project = request.project!!
})
return mojoAnnotationsScanner.scan(
MojoAnnotationsScannerRequest().apply {
classesDirectories = listOf(File(request.project.build.outputDirectory!!))
dependencies = request.dependencies!!
project = request.project!!
}
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,13 @@ internal class SourceScanner(
classifier
)!!

repositorySystem.resolve(ArtifactResolutionRequest().apply {
this.artifact = sourcesArtifact
localRepository = request.local
remoteRepositories = request.remoteRepos
})
repositorySystem.resolve(
ArtifactResolutionRequest().apply {
this.artifact = sourcesArtifact
localRepository = request.local
remoteRepositories = request.remoteRepos
}
)

val sourcesArtifactFile = sourcesArtifact.file
?.takeIf(File::exists)
Expand Down