Fix POM attributes missing form Gradle plugins
(cherry picked from commit bc447e8)
This commit is contained in:
committed by
Sergey Igushkin
parent
3df43ccc6a
commit
ba649d0869
@@ -1,6 +1,12 @@
|
||||
ext.pluginMarkerProject = { String pluginProjectId ->
|
||||
evaluationDependsOn(":$pluginProjectId")
|
||||
|
||||
if (rootProject.ext.get("isSonatypePublish")) {
|
||||
def warning = "Plugin marker is not created for $pluginProjectId Sonatype publishing"
|
||||
task('uploadArchives').doLast { println warning }
|
||||
return
|
||||
}
|
||||
|
||||
def pluginProject = findProject(":$pluginProjectId")
|
||||
|
||||
repositories.addAll(pluginProject.repositories.toList())
|
||||
|
||||
Reference in New Issue
Block a user