mirror of
https://github.com/JonasunderscoreJones/BuildGPT.git
synced 2025-10-23 00:09:18 +02:00
1.18-pre2
This commit is contained in:
parent
466c1a804a
commit
57e84b576d
5 changed files with 11 additions and 12 deletions
|
@ -3,8 +3,8 @@ plugins {
|
|||
id 'maven-publish'
|
||||
}
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_16
|
||||
targetCompatibility = JavaVersion.VERSION_16
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
|
||||
archivesBaseName = project.archives_base_name
|
||||
version = project.mod_version
|
||||
|
@ -37,8 +37,8 @@ processResources {
|
|||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
// Minecraft 1.17 (21w19a) upwards uses Java 16.
|
||||
it.options.release = 16
|
||||
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
|
||||
it.options.release = 17
|
||||
}
|
||||
|
||||
java {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue