在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):SpongePowered/VanillaGradle开源软件地址(OpenSource Url):https://github.com/SpongePowered/VanillaGradle开源编程语言(OpenSource Language):Java 98.2%开源软件介绍(OpenSource Introduction):VanillaGradle is a toolchain for Minecraft: Java Edition that provides a workspace to interact with the game using official mappings provided by Mojang Studios. This plugin requires at least Gradle 6.7 and Java 8 to run, though it is only actively tested against the latest release of every major Gradle series supported (currently 6.x and 7.x). VANILLAGRADLE IS NOT DESIGNED AND IS NOT GENERALLY USEFUL FOR END-USER USE. IT IS FOR TOOLING AND PLATFORM DEVELOPERS WHO HAVE A SOLID WORKING KNOWLEDGE OF GRADLE ONLY! DocumentationThe main documentation for VanillaGradle can be found in the Wiki. For additional help use the channel Otherwise, to get a workspace up and going with vanilla Minecraft immediately it is as simple as creating a Gradle build based on this buildscript: plugins {
java
id("org.spongepowered.gradle.vanilla") version "0.2"
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
minecraft {
version("1.16.5") // or: latestRelease() or latestSnapshot()
runs {
server()
client()
}
} Within IntelliJ IDEA and Eclipse, this will generate run configurations named To have browsable sources in-IDE, run Building VanillaGradleVanillaGradle uses the Gradle build automation system. To perform a build, use Gradle version 6.9 and execute
from within the project root directory. (If you do not have Gradle installed on
your system you can instead run the supplied Gradle wrapper Version HistoryCompatibility: We use Semantic Versioning for the user-visible API in VanillaGradle. This applies to every public class
outside of the
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论