Skip to content

Commit

Permalink
测试
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFloodDragon committed Jun 30, 2023
1 parent 3e1f3d0 commit 21a98eb
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions plugin/platform-bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.archivesName

dependencies {

Expand All @@ -7,10 +8,13 @@ dependencies {

compileOnly("com.google.guava:guava:31.1-jre")

rootProject.allprojects.forEach {
if (it.parent?.name == "project" && !it.name.contains("bungee"))
implementation(it)
}
// rootProject.allprojects.forEach {
// if (it.parent?.name == "project" && !it.name.contains("bungee"))
// implementation(it)
// }
rootProject
.childProjects["project"]!!.childProjects.values
.forEach { if (!it.name.contains("bungee")) implementation(it) }
}

tasks {
Expand All @@ -20,7 +24,9 @@ tasks {
archiveClassifier.set("")
archiveVersion.set(rootVersion)
//archiveBaseName.set("$rootName-Bukkit")
archiveBaseName.set(rootName)
//archiveBaseName.set(rootName)
println(archiveFile)
archivesName.set(rootName)
// Exclude
exclude("META-INF/**")
exclude("com/**", "org/**")
Expand Down

0 comments on commit 21a98eb

Please sign in to comment.