Skip to content

Commit

Permalink
Fix POM generation (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosanchez authored Feb 22, 2021
1 parent 299d270 commit 0aac4e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class MicronautBuildCommonPlugin implements Plugin<Project> {
throw new GradleException("Do not use enforcedPlatform. Please remove the micronautBuild.enforcedPlatform setting")
}
String p = "platform"
implementation "$p"("io.micronaut:micronaut-bom:${micronautVersion}")
annotationProcessor "$p"("io.micronaut:micronaut-bom:${micronautVersion}")
testAnnotationProcessor "$p"("io.micronaut:micronaut-bom:${micronautVersion}")
testImplementation "$p"("io.micronaut:micronaut-bom:${micronautVersion}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class MicronautPublishingPlugin implements Plugin<Project> {

versionMapping {
usage('java-api') {
fromResolutionResult()
fromResolutionOf('runtimeClasspath')
}
usage('java-runtime') {
fromResolutionResult()
Expand Down

0 comments on commit 0aac4e9

Please sign in to comment.