diff options
Diffstat (limited to 'archenemyexample/build.gradle.kts')
-rw-r--r-- | archenemyexample/build.gradle.kts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/archenemyexample/build.gradle.kts b/archenemyexample/build.gradle.kts index eb0d9ff..6ed1dbe 100644 --- a/archenemyexample/build.gradle.kts +++ b/archenemyexample/build.gradle.kts @@ -19,7 +19,13 @@ kotlin { compilations.named("main").get().run { defaultSourceSet.dependsOn(allJvm) this.dependencies { - implementation(mojang.minecraft("1.8.9", MCSide.CLIENT)) + val mappedMinecraft = mojang.mapJar( + mojang.minecraft("1.20.2", MCSide.CLIENT) as ModuleDependency, + mojang.officialMappings("1.20.2", MCSide.CLIENT), + "official", + "named" + ) + implementation(mappedMinecraft) } } } |