Skip to content

Commit

Permalink
Refactor build scripts (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
turikhay authored May 19, 2024
1 parent dd6c39d commit 8abc277
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 3 additions & 2 deletions spigot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ plugins {

repositories {
maven {
name = "ProtocolLib"
url = uri("https://repo.dmulloy2.net/repository/public/")
}
maven {
name = "Sonatype"
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
maven {
name = "Spigot"
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}
}

val bStats = with(libs.bstats.bukkit.get()) { "$module:$versionConstraint" }

tasks {
val writePluginYml by creating(PluginDescriptorTask::class) {
descriptor = "plugin.yml"
Expand Down
6 changes: 1 addition & 5 deletions velocity/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ java {

repositories {
maven {
name = "papermc"
name = "Paper"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
}
Expand All @@ -32,8 +32,4 @@ tasks {
"version" to project.version
))
}

shadowJar {
archiveFileName = "mapmodcompanion-shadow.jar"
}
}

0 comments on commit 8abc277

Please sign in to comment.