mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-22 07:37:55 -05:00
22fe817d10
* feat: add fabric-api-bom and fabric-api-catalog
* spotlessApply
* Apply suggestions from code review
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
---------
Co-authored-by: modmuss <modmuss50@gmail.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
(cherry picked from commit 679aae3c9a
)
31 lines
548 B
Groovy
31 lines
548 B
Groovy
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))
|
|
}
|
|
}
|
|
}
|