blob: c6675dd33a60badb700a307709d72b068ca21694 [file] [log] [blame]
/*
* Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
plugins {
id 'io.spring.dependency-management'
}
def name = project.name
dependencyManagement {
dependencies {
rootProject.subprojects.each {
if (ext.unpublished.contains(it.name)) return
if (it.name == name) return
if (!it.plugins.hasPlugin('maven-publish')) return
evaluationDependsOn(it.path)
it.publishing.publications.all {
if (it.artifactId.endsWith("-kotlinMultiplatform")) return
if (it.artifactId.endsWith("-metadata")) return
dependency(group: it.groupId, name: it.artifactId, version: it.version)
}
}
}
}