@@ -97,21 +97,21 @@ if (modstitch.isLoom) {
97
97
Setup stonecutter for the project.
98
98
*/
99
99
stonecutter.apply {
100
- consts(
101
- " fabric" to modstitch.isLoom,
102
- " neoforge" to modstitch.isModDevGradleRegular,
103
- " immediately-fast" to isPropDefined(" deps.immediatelyFast" ),
104
- " iris" to isPropDefined(" deps.iris" ),
105
- " mod-menu" to isPropDefined(" deps.modMenu" ),
106
- " sodium" to isPropDefined(" deps.sodium" ),
107
- " simple-voice-chat" to isPropDefined(" deps.simpleVoiceChat" ),
108
- " reeses-sodium-options" to isPropDefined(" deps.reesesSodiumOptions" ),
109
- " fancy-menu" to isPropDefined(" deps.fancyMenu" ),
110
- )
111
-
112
- dependencies(
113
- " fapi" to (findProperty( " deps.fabricApi" )?.toString() ? : " 0.0.0" ),
114
- )
100
+ constants {
101
+ put( " fabric" , modstitch.isLoom)
102
+ put( " neoforge" , modstitch.isModDevGradleRegular)
103
+ put( " immediately-fast" , isPropDefined(" deps.immediatelyFast" ))
104
+ put( " iris" , isPropDefined(" deps.iris" ))
105
+ put( " mod-menu" , isPropDefined(" deps.modMenu" ))
106
+ put( " sodium" , isPropDefined(" deps.sodium" ))
107
+ put( " simple-voice-chat" , isPropDefined(" deps.simpleVoiceChat" ))
108
+ put( " reeses-sodium-options" , isPropDefined(" deps.reesesSodiumOptions" ))
109
+ put( " fancy-menu" , isPropDefined(" deps.fancyMenu" ))
110
+ }
111
+
112
+ dependencies {
113
+ put( " fapi" , prop( " deps.fabricApi" ) ? : " 0.0.0" )
114
+ }
115
115
}
116
116
117
117
tasks.named<ProcessResources >(" generateModMetadata" ) {
0 commit comments