Skip to content

Commit

Permalink
build: fix core-bukkit and fakedeath-bukkit source jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Misat11 committed Jun 9, 2024
1 parent ec0306a commit e4cb79a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/bukkit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,12 @@ dependencies {
compileOnly libs.netty
compileOnly libs.viaversion
compileOnly libs.protocolsupport
}

if (tasks.findByName("sourceJar")) {
tasks.named("sourceJar") {
sourceSets.matching { it.name != 'test' }.each {
from it.allJava
}
}
}
8 changes: 8 additions & 0 deletions extensions/fakedeath/bukkit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,12 @@ sourceSets {
dependencies {
compileOnly libs.paper
support_1_20_1CompileOnly libs.paper.support.one.twenty.one
}

if (tasks.findByName("sourceJar")) {
tasks.named("sourceJar") {
sourceSets.matching { it.name != 'test' }.each {
from it.allJava
}
}
}

0 comments on commit e4cb79a

Please sign in to comment.