Publish sources and javadoc

This commit is contained in:
Jakob K
2021-12-12 03:52:05 +01:00
parent 69d9be0af8
commit 5a1cace54b
2 changed files with 5 additions and 3 deletions

View File

@@ -71,6 +71,8 @@ publishing {
publications {
create<MavenPublication>(project.name) {
artifact(tasks.reobfJar)
artifact(tasks.named("javadocJar"))
artifact(tasks.named("sourcesJar"))
this.groupId = project.group.toString()
this.artifactId = project.name.toLowerCase()

View File

@@ -6,7 +6,7 @@ Please use this library together with the paperweight Gradle plugin, as it remap
jar to mojmap, and adds all necessary dependencies with one bundle!
`settings.gradle.kts`
```kt
```kotlin
pluginManagement {
repositories {
gradlePluginPortal()
@@ -16,7 +16,7 @@ pluginManagement {
```
`build.gradle.kts`
```kt
```kotlin
plugins {
id("io.papermc.paperweight.userdev") version "VERSION"
}
@@ -33,7 +33,7 @@ The wrapper for nbt compounds has been removed, use `CompoundTag` of net.minecra
## Upcoming features
Due to paper now being binary compatible with all other Minecraft modding toolchains, expect to see features
Due to Paper now being binary compatible with all other Minecraft modding toolchains, expect to see features
from [FabrikMC](https://jakobkmar.github.io/fabrikmc/) on the paper side!
## Paper first policy