From 8123f3ee5c7c30829503074d32c27ca1ea01a1a3 Mon Sep 17 00:00:00 2001 From: ChloePrime Date: Thu, 3 Dec 2020 10:21:39 +0800 Subject: [PATCH] Update README --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 15aa3e9..51e02e0 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,19 @@ # Forgelin -Fork of [Emberwalker's Forgelin](https://github.com/Emberwalker/Forgelin). +Fork of [Shadowfact's Forgelin](https://github.com/shadowfacts/Forgelin). ## Additions - Shades the Kotlin standard library, runtime, coroutines-core, and reflect libraries so you don't have to. +- Shades kotlin compiler and includes a jsr-223 script engine so you can write CNPC scripts with kotlin. - Provides a Forge `ILanguageAdapter` for using Kotlin `object` classes as your main mod class. +## Build +After build, open the jar with WinRAR/7Zip and delete `META-INF/versions` folder, +or your artifact will not be loaded by FML. + +**Why:** Those folder contains class files that is valid only after Java9+. and when FML passes these classes to coremods, + the `ClassReader`s inside those coremods will throw exceptions, causing the jar to be thought corrupted. + + ## Usage ```groovy repositories { @@ -21,4 +30,4 @@ dependencies { All versions can be seen [here](http://maven.shadowfacts.net/net/shadowfacts/Forgelin/). -**Note:** You must have the `jcenter()` call in your `repositories` block. JCenter is used to host the Kotlin coroutines libraries. +**Note:** You must have the `jcenter()` call in your `repositories` block. JCenter is used to host the Kotlin coroutines libraries. \ No newline at end of file