File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11plugins {
2- kotlin(" jvm" ).version( " 1.7.10 " )
3- id(" fabric-loom" ).version( " 1.0-SNAPSHOT " )
2+ kotlin(" jvm" )
3+ id(" fabric-loom" )
44 `maven- publish`
55 java
66}
Original file line number Diff line number Diff line change 11kotlin.code.style =official
22archives_base_name =fabric-example-mod
33maven_group =net.fabricmc
4+ loom_version =1.0-SNAPSHOT
45minecraft_version =1.19.2
56yarn_mappings =1.19.2+build.8
67loader_version =0.14.9
Original file line number Diff line number Diff line change @@ -7,4 +7,11 @@ pluginManagement {
77 mavenCentral()
88 gradlePluginPortal()
99 }
10+
11+ val loom_version: String by settings
12+ val fabric_kotlin_version: String by settings
13+ plugins {
14+ id(" fabric-loom" ) version loom_version
15+ id(" org.jetbrains.kotlin.jvm" ) version fabric_kotlin_version.split(" +kotlin." )[1 ]
16+ }
1017}
You can’t perform that action at this time.
0 commit comments