Skip to content

Commit e61ae53

Browse files
authored
Update build.gradle.kts
1 parent f52eb4d commit e61ae53

1 file changed

Lines changed: 5 additions & 30 deletions

File tree

build.gradle.kts

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
22
`java-library`
3-
`maven-publish`
43
id("com.gradleup.shadow") version("9.3.1")
54
id("xyz.jpenilla.run-paper") version("3.0.2")
65
}
@@ -56,37 +55,13 @@ tasks {
5655
expand("version" to rootProject.version)
5756
}
5857
}
59-
}
60-
61-
publishing {
62-
repositories {
63-
maven {
64-
name = "lushReleases"
65-
url = uri("https://repo.lushplugins.org/releases")
66-
credentials(PasswordCredentials::class)
67-
authentication {
68-
isAllowInsecureProtocol = true
69-
create<BasicAuthentication>("basic")
70-
}
71-
}
7258

73-
maven {
74-
name = "lushSnapshots"
75-
url = uri("https://repo.lushplugins.org/snapshots")
76-
credentials(PasswordCredentials::class)
77-
authentication {
78-
isAllowInsecureProtocol = true
79-
create<BasicAuthentication>("basic")
80-
}
81-
}
82-
}
59+
runServer {
60+
minecraftVersion("1.21.11")
8361

84-
publications {
85-
create<MavenPublication>("maven") {
86-
groupId = rootProject.group.toString()
87-
artifactId = rootProject.name
88-
version = rootProject.version.toString()
89-
from(project.components["java"])
62+
downloadPlugins {
63+
modrinth("viaversion", "5.7.1")
64+
modrinth("viabackwards", "5.7.1")
9065
}
9166
}
9267
}

0 commit comments

Comments
 (0)