diff --git a/README.md b/README.md index e92b801..71f107d 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ Please note Uniform on Fabric requires [adventure-platform-fabric](https://docs. | Common | `uniform-common` | - | >`17` | | Paper | `uniform-paper` | \>`1.20.6` | >`21` | | Velocity | `uniform-velocity` | \>`3.3.0` | >`17` | -| Fabric 1.20.1 | `uniform-fabric-1.20.1` | =`1.20.1` | >`17` | -| Fabric 1.20.6 | `uniform-fabric-1.20.6` | =`1.20.6` | >`21` | +| Fabric 1.20.1 | `uniform-fabric-1_20_1` | =`1.20.1` | >`17` | +| Fabric 1.20.6 | `uniform-fabric-1_20_6` | =`1.20.6` | >`21` | Uniform _plans_ to support the following platforms in the future: diff --git a/build.gradle b/build.gradle index f2c4bc0..9f864cd 100644 --- a/build.gradle +++ b/build.gradle @@ -154,6 +154,30 @@ subprojects { } } } + if (['fabric-1.20.1'].contains(project.name)) { + publications { + mavenJavaFabric1_20_1(MavenPublication) { + groupId = 'net.william278.uniform' + artifactId = 'uniform-fabric-1_20_1' + version = "$rootProject.version" + artifact shadowJar + artifact sourcesJar + artifact javadocJar + } + } + } + if (['fabric-1.20.6'].contains(project.name)) { + publications { + mavenJavaFabric1_20_6(MavenPublication) { + groupId = 'net.william278.uniform' + artifactId = 'uniform-fabric-1_20_6' + version = "$rootProject.version" + artifact shadowJar + artifact sourcesJar + artifact javadocJar + } + } + } }