Publish sources and javadoc
This commit is contained in:
@@ -71,6 +71,8 @@ publishing {
|
|||||||
publications {
|
publications {
|
||||||
create<MavenPublication>(project.name) {
|
create<MavenPublication>(project.name) {
|
||||||
artifact(tasks.reobfJar)
|
artifact(tasks.reobfJar)
|
||||||
|
artifact(tasks.named("javadocJar"))
|
||||||
|
artifact(tasks.named("sourcesJar"))
|
||||||
|
|
||||||
this.groupId = project.group.toString()
|
this.groupId = project.group.toString()
|
||||||
this.artifactId = project.name.toLowerCase()
|
this.artifactId = project.name.toLowerCase()
|
||||||
|
@@ -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!
|
jar to mojmap, and adds all necessary dependencies with one bundle!
|
||||||
|
|
||||||
`settings.gradle.kts`
|
`settings.gradle.kts`
|
||||||
```kt
|
```kotlin
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
@@ -16,7 +16,7 @@ pluginManagement {
|
|||||||
```
|
```
|
||||||
|
|
||||||
`build.gradle.kts`
|
`build.gradle.kts`
|
||||||
```kt
|
```kotlin
|
||||||
plugins {
|
plugins {
|
||||||
id("io.papermc.paperweight.userdev") version "VERSION"
|
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
|
## 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!
|
from [FabrikMC](https://jakobkmar.github.io/fabrikmc/) on the paper side!
|
||||||
|
|
||||||
## Paper first policy
|
## Paper first policy
|
||||||
|
Reference in New Issue
Block a user