mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Update Bootstrap to improve the Java version check error message (#9990)
This commit is contained in:
1 parent
549dbe7df4
commit
a3fce36942
2 files changed
+5
-7
No files matched your search
+4
-4
@@ -483,10 +483,10 @@ tasks.register('createServerShimClasspath', BundleList) {
|
||||
tasks.register('createServerShimConfig') {
|
||||
ext.output = file('build/libs/bootstrap-shim.properties')
|
||||
doLast {
|
||||
def cfg = new CleanProperties()
|
||||
cfg."Main-Class" = 'net.minecraftforge.bootstrap.ForgeBootstrap'
|
||||
cfg."Java-Version" = '17'
|
||||
cfg."Arguments" = "--launchTarget forge_server"
|
||||
var cfg = new CleanProperties()
|
||||
cfg['Main-Class'] = 'net.minecraftforge.bootstrap.ForgeBootstrap'
|
||||
cfg['Java-Version'] = '21'
|
||||
cfg['Arguments'] = '--launchTarget forge_server'
|
||||
cfg.store(output)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
import org.gradle.internal.os.OperatingSystem
|
||||
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
@@ -45,7 +43,7 @@ dependencyResolutionManagement {
|
||||
library('jimfs', 'com.google.jimfs:jimfs:1.3.0')
|
||||
bundle('jimfs', ['guava', 'failureaccess'])
|
||||
|
||||
version('bootstrap', '2.1.1')
|
||||
version('bootstrap', '2.1.3')
|
||||
library('bootstrap', 'net.minecraftforge', 'bootstrap' ).versionRef('bootstrap') // Needs modlauncher
|
||||
library('bootstrap-api', 'net.minecraftforge', 'bootstrap-api' ).versionRef('bootstrap')
|
||||
library('bootstrap-dev', 'net.minecraftforge', 'bootstrap-dev' ).versionRef('bootstrap')
|
||||
|
||||
Reference in new issue
Block a user