Initial commit
This commit is contained in:
11
gradle/module-resources/bungeecord.kts
Normal file
11
gradle/module-resources/bungeecord.kts
Normal file
@@ -0,0 +1,11 @@
|
||||
plugins {
|
||||
alias(libs.plugins.run.waterfall)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.minecraft.proxy.bungeecord)
|
||||
}
|
||||
|
||||
tasks.runWaterfall {
|
||||
waterfallVersion("1.20")
|
||||
}
|
||||
15
gradle/module-resources/folia.kts
Normal file
15
gradle/module-resources/folia.kts
Normal file
@@ -0,0 +1,15 @@
|
||||
plugins {
|
||||
alias(libs.plugins.run.paper)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.minecraft.server.folia)
|
||||
|
||||
paperweight.paperDevBundle("1.20.2-R0.1-SNAPSHOT")
|
||||
}
|
||||
|
||||
tasks {
|
||||
runPaper.folia.registerTask {
|
||||
minecraftVersion("1.20.2")
|
||||
}
|
||||
}
|
||||
13
gradle/module-resources/paper.kts
Normal file
13
gradle/module-resources/paper.kts
Normal file
@@ -0,0 +1,13 @@
|
||||
plugins {
|
||||
alias(libs.plugins.run.paper)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.minecraft.server.paper)
|
||||
|
||||
paperweight.paperDevBundle("1.20.2-R0.1-SNAPSHOT")
|
||||
}
|
||||
|
||||
tasks.runServer {
|
||||
minecraftVersion("1.20.2")
|
||||
}
|
||||
10
gradle/module-resources/plugin.yml
Normal file
10
gradle/module-resources/plugin.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: $plugin_name
|
||||
description: $plugin_description
|
||||
version: $plugin_version
|
||||
main: $plugin_main_class
|
||||
api-version: $plugin_api_version
|
||||
prefix: $plugin_name
|
||||
depend: $plugin_dependencies
|
||||
softDepends: $plugin_softdependencies
|
||||
authors: $plugin_authors
|
||||
commands: $plugin_commands
|
||||
13
gradle/module-resources/spigot.kts
Normal file
13
gradle/module-resources/spigot.kts
Normal file
@@ -0,0 +1,13 @@
|
||||
plugins {
|
||||
alias(libs.plugins.run.paper)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.minecraft.server.spigot)
|
||||
|
||||
paperweight.paperDevBundle("1.20.2-R0.1-SNAPSHOT")
|
||||
}
|
||||
|
||||
tasks.runServer {
|
||||
minecraftVersion("1.20.2")
|
||||
}
|
||||
22
gradle/module-resources/tools.kts
Normal file
22
gradle/module-resources/tools.kts
Normal file
@@ -0,0 +1,22 @@
|
||||
plugins {
|
||||
id("maven-publish")
|
||||
}
|
||||
|
||||
if (properties["enableToolsMavenDependency"] == "true") {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("Tools") {
|
||||
groupId = project.group.toString()
|
||||
artifactId = rootProject.name.lowercase()
|
||||
version = project.version.toString()
|
||||
|
||||
artifact(rootProject.ext["toolsArtifact"] as TaskProvider<*>)
|
||||
}
|
||||
|
||||
repositories {
|
||||
add(rootProject.ext["bitBuildArtifactoryPublish"] as MavenArtifactRepository)
|
||||
add(rootProject.ext["githubPackagesPublish"] as MavenArtifactRepository)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
13
gradle/module-resources/velocity.kts
Normal file
13
gradle/module-resources/velocity.kts
Normal file
@@ -0,0 +1,13 @@
|
||||
plugins {
|
||||
alias(libs.plugins.run.velocity)
|
||||
id(libs.plugins.kotlin.kapt.get().pluginId)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.minecraft.proxy.velocity)
|
||||
kapt(libs.minecraft.proxy.velocity)
|
||||
}
|
||||
|
||||
tasks.runVelocity {
|
||||
velocityVersion(libs.versions.velocity.get())
|
||||
}
|
||||
11
gradle/module-resources/waterfall.kts
Normal file
11
gradle/module-resources/waterfall.kts
Normal file
@@ -0,0 +1,11 @@
|
||||
plugins {
|
||||
alias(libs.plugins.run.waterfall)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.minecraft.proxy.waterfall)
|
||||
}
|
||||
|
||||
tasks.runWaterfall {
|
||||
waterfallVersion("1.20")
|
||||
}
|
||||
Reference in New Issue
Block a user