diff --git a/build.gradle b/build.gradle index 6a47932..e22b219 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ import java.util.concurrent.ConcurrentHashMap + /* * Copyright 2002-2020 the original author or authors. * @@ -237,7 +238,7 @@ configure(publishedProjects) { publications { mavenJava(MavenPublication) { suppressAllPomMetadataWarnings() - from components.java + from components.findByName('java') pom { afterEvaluate { name = project.description