aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorthedarkcolour <30441001+thedarkcolour@users.noreply.github.com>2019-12-19 15:07:01 -0800
committerthedarkcolour <30441001+thedarkcolour@users.noreply.github.com>2019-12-19 15:07:01 -0800
commit88d27da569789b80844418af4d941c7a93299311 (patch)
treec221062b2e3c7179525dfacdf4aec7ab71677549 /README.md
parent359d108e282e8bbfa5e87b2e6099f89ac706240e (diff)
downloadKotlinForForge-88d27da569789b80844418af4d941c7a93299311.tar.gz
KotlinForForge-88d27da569789b80844418af4d941c7a93299311.tar.bz2
KotlinForForge-88d27da569789b80844418af4d941c7a93299311.zip
Update 1.0.0
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index cec9159..4d47218 100644
--- a/README.md
+++ b/README.md
@@ -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