Skip to content

Commit a1709fc

Browse files
committed
Change all ' to " in gradle files
1 parent aa05473 commit a1709fc

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

build.gradle

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
plugins {
22
// loom plugin
3-
id 'fabric-loom' version "${loom_version}"
3+
id "fabric-loom" version "${loom_version}"
44
// legacy looming (loom plugin improvements)
5-
id 'legacy-looming' version "${loom_version}"
6-
id 'com.palantir.git-version' version '3.1.0'
7-
id 'com.diffplug.spotless' version '7.0.3'
5+
id "legacy-looming" version "${loom_version}"
6+
id "com.palantir.git-version" version "3.1.0"
7+
id "com.diffplug.spotless" version "7.0.3"
88
}
99

1010

@@ -23,18 +23,18 @@ java {
2323

2424
loom {
2525
// set access widener
26-
accessWidenerPath = file('src/main/resources/tasmod.accesswidener')
26+
accessWidenerPath = file("src/main/resources/tasmod.accesswidener")
2727
// add log4jconfig
28-
log4jConfigs.from(file('src/main/resources/log4j.xml'))
28+
log4jConfigs.from(file("src/main/resources/log4j.xml"))
2929
}
3030

3131
// dependency repositories
3232
repositories {
3333
mavenCentral()
3434
maven { url = "https://maven.minecrafttas.com/main" }
35-
maven { url = 'https://raw.githubusercontent.com/BleachDev/cursed-mappings/main/' }
35+
maven { url = "https://raw.githubusercontent.com/BleachDev/cursed-mappings/main/" }
3636
maven { url = "https://jitpack.io" }
37-
maven { url = 'https://repo.spongepowered.org/maven' }
37+
maven { url = "https://repo.spongepowered.org/maven" }
3838
}
3939

4040
// dependency configurations
@@ -55,8 +55,8 @@ dependencies {
5555
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
5656

5757
// testing dependencies
58-
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.3'
59-
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
58+
testImplementation "org.junit.jupiter:junit-jupiter:5.13.3"
59+
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
6060
}
6161

6262

@@ -70,7 +70,7 @@ processResources {
7070
inputs.property "mcversion", project.minecraft_version
7171

7272
filesMatching("fabric.mod.json") {
73-
expand 'mod_url': project.mod_url, 'name': project.mod_name, 'mod_version': project.version, 'mod_description': project.mod_description, 'mod_sources': project.mod_sources, 'mod_email': project.mod_email
73+
expand "mod_url": project.mod_url, "name": project.mod_name, "mod_version": project.version, "mod_description": project.mod_description, "mod_sources": project.mod_sources, "mod_email": project.mod_email
7474
}
7575
}
7676

@@ -87,7 +87,7 @@ jar {
8787
}
8888

8989
// configure testing
90-
tasks.named('test', Test) {
90+
tasks.named("test", Test) {
9191
useJUnitPlatform()
9292

9393
testLogging {
@@ -96,11 +96,11 @@ tasks.named('test', Test) {
9696
}
9797

9898
spotless {
99-
encoding 'UTF-8'
100-
lineEndings 'UNIX'
99+
encoding "UTF-8"
100+
lineEndings "UNIX"
101101
java {
102-
importOrderFile('formatter/TASmodImportorder.txt')
103-
eclipse().configFile('formatter/TASmodFormatter.xml')
102+
importOrderFile("formatter/TASmodImportorder.txt")
103+
eclipse().configFile("formatter/TASmodFormatter.xml")
104104
}
105105
enforceCheck false
106106
}

settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ pluginManagement {
33
// add repositories for plugins
44
repositories {
55
maven { url = "https://maven.minecrafttas.com/main" }
6-
maven { url = 'https://maven.fabricmc.net/' }
7-
maven { url = 'https://repo.legacyfabric.net/repository/legacyfabric/' }
6+
maven { url = "https://maven.fabricmc.net/" }
7+
maven { url = "https://repo.legacyfabric.net/repository/legacyfabric/" }
88
mavenCentral()
99
gradlePluginPortal()
1010
}

0 commit comments

Comments
 (0)