diff options
author | thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> | 2019-12-19 15:07:01 -0800 |
---|---|---|
committer | thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> | 2019-12-19 15:07:01 -0800 |
commit | 88d27da569789b80844418af4d941c7a93299311 (patch) | |
tree | c221062b2e3c7179525dfacdf4aec7ab71677549 /README.md | |
parent | 359d108e282e8bbfa5e87b2e6099f89ac706240e (diff) | |
download | KotlinForForge-88d27da569789b80844418af4d941c7a93299311.tar.gz KotlinForForge-88d27da569789b80844418af4d941c7a93299311.tar.bz2 KotlinForForge-88d27da569789b80844418af4d941c7a93299311.zip |
Update 1.0.0
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -7,6 +7,16 @@ Makes Kotlin forge-friendly by doing the following: To implement in your project, add the following to your build.gradle: ```groovy +buildscript { + // ... + dependencies { + // Check the mod file for the Kotlin version + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61" + } +} + +apply plugin: 'kotlin' + repositories { maven { name = 'kotlinforforge' @@ -18,6 +28,12 @@ dependencies { // Uses the latest version of KotlinForForge implementation 'thedarkcolour:kotlinforforge:1+' } + +compileKotlin { + kotlinOptions { + jvmTarget = '1.8' + } +} ``` Then, add the following to your mods.toml file: ```toml |