Reforce the difference of quotes on Groovy
This commit is contained in:
parent
2c4ef419eb
commit
1db07dc567
1 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ repositories {
|
||||||
// See https://docs.gradle.org/current/userguide/platforms.html for information on how version catalogs work.
|
// See https://docs.gradle.org/current/userguide/platforms.html for information on how version catalogs work.
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft libs.minecraft
|
minecraft libs.minecraft
|
||||||
mappings variantOf(libs.quilt.mappings) { classifier "intermediary-v2" }
|
mappings variantOf(libs.quilt.mappings) { classifier 'intermediary-v2' }
|
||||||
// Replace the above line with the block below if you want to use Mojang mappings as your primary mappings, falling back on QM for parameters and Javadocs
|
// Replace the above line with the block below if you want to use Mojang mappings as your primary mappings, falling back on QM for parameters and Javadocs
|
||||||
/*
|
/*
|
||||||
mappings loom.layered {
|
mappings loom.layered {
|
||||||
|
@ -36,7 +36,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
inputs.property "version", version
|
inputs.property 'version', version
|
||||||
|
|
||||||
filesMatching('quilt.mod.json') {
|
filesMatching('quilt.mod.json') {
|
||||||
expand "version": version
|
expand "version": version
|
||||||
|
@ -44,7 +44,7 @@ processResources {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.encoding = "UTF-8"
|
it.options.encoding = 'UTF-8'
|
||||||
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
|
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
|
||||||
it.options.release = 17
|
it.options.release = 17
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,7 @@ java {
|
||||||
|
|
||||||
// If you plan to use a different file for the license, don't forget to change the file name here!
|
// If you plan to use a different file for the license, don't forget to change the file name here!
|
||||||
jar {
|
jar {
|
||||||
from("LICENSE") {
|
from('LICENSE') {
|
||||||
rename { "${it}_${archivesBaseName}" }
|
rename { "${it}_${archivesBaseName}" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue