11plugins {
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
2424loom {
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
3232repositories {
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
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
9898spotless {
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}
0 commit comments