aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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