在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):thedarkcolour/KotlinForForge开源软件地址(OpenSource Url):https://github.com/thedarkcolour/KotlinForForge开源编程语言(OpenSource Language):Kotlin 100.0%开源软件介绍(OpenSource Introduction):KotlinForForge**These instructions are for 1.18-1.19. To see instructions for 1.14-1.16, click here. Makes Kotlin Forge-friendly by doing the following:
An example mod is provided at the KotlinModdingSkeleton repository. If you aren't sure where to start, make a fork of the KotlinModdingSkeleton repository.
To implement in an existing project, paste the following into your build.gradle: // Adds the Kotlin Gradle plugin
buildscript {
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0"
// OPTIONAL Kotlin Serialization plugin
classpath 'org.jetbrains.kotlin:kotlin-serialization:1.7.0'
}
}
apply plugin: 'kotlin'
// OPTIONAL Kotlin Serialization plugin
apply plugin: 'kotlinx-serialization'
// Adds KFF as dependency and Kotlin libs to the runtime classpath
// **If you already know how to add the Kotlin plugin to Gradle, this is the only line you need for KFF
apply from: 'https://raw.githubusercontent.com/thedarkcolour/KotlinForForge/site/thedarkcolour/kotlinforforge/gradle/kff-3.6.0.gradle'
Then, change the following to your mods.toml file: modLoader="kotlinforforge"
# Change this if you require a certain version of KotlinForForge
loaderVersion="[3,)" Use
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论