fabric/fabric-api-bom/build.gradle

32 lines
548 B
Groovy
Raw Permalink Normal View History

plugins {
id 'java-platform'
}
version = rootProject.version
publishing.publications {
register('mavenJava', MavenPublication) {
from(components['javaPlatform'])
}
}
tasks.withType(GenerateModuleMetadata) {
// todo: RemoteSignJar fails when this is false (as set by parent build script)
enabled = true
}
dependencies {
constraints {
for (proj in rootProject.allprojects) {
if (proj == project) { // the bom itself
continue
}
if (proj.name == 'fabric-api-catalog') {
continue
}
api(project(proj.path))
}
}
}