Commit Graph

61 Commits

Author SHA1 Message Date
Shadowfacts 7e582d39ee
Update Kotlin and Coroutines 2019-09-13 16:27:57 -04:00
Shadowfacts 09bd973e77
Fix kotlin-stdlib-jdk7/8 not being shadowed 2019-09-13 16:21:17 -04:00
NikkyAI 85b8fd917b update to 1.3.40 (#60)
* update to 1.3.40-eap

skipped current stable (1.3.31) because of https://youtrack.jetbrains.com/issue/KT-30132

* update to 1.3.40
2019-06-19 15:17:04 -04:00
Shadowfacts 7aa0a3ef37
Bump version 2018-11-24 13:40:33 -05:00
Shadowfacts 1342a6f5a6
Update to Kotlin 1.3.10, Coroutines 1.0.1, and bump version
Closes #48
2018-11-23 21:14:22 -05:00
Shadowfacts b18b818f64
Bump version to 1.8.0 2018-10-30 19:24:05 -04:00
Shadowfacts 90c0276180
Update Kotlin to 1.3.0, Coroutines to 1.0.0
Closes #43
2018-10-30 19:20:59 -04:00
Shadowfacts 583e9d8170
Bump version 2018-06-16 10:34:04 -04:00
Shadowfacts 9809314759
Only attempt to register event handlers for mods that use KotlinAdapter
Closes #41
2018-06-14 19:14:55 -04:00
Shadowfacts 9e8935d4cf
Bump version 2018-06-14 18:25:59 -04:00
Shadowfacts 7b885ea4cd
Convert indents to tabs 2018-06-11 17:22:36 -04:00
Shadowfacts 7cebe692e7
Only unregister static/register object event handlers unless appropriate handler methods are detected 2018-06-11 17:21:43 -04:00
Shadowfacts 26b895b6ce
Bump version 2018-06-10 19:27:52 -04:00
gegy1000 df437491f1 Fix #38 (#39)
Because the automatic subscriber depends on the mod class loader, we need it to run after that has been initialized. That only happens in the construction event, so we have to search at some later stage.
2018-06-10 19:27:26 -04:00
Shadowfacts ecf20f1a76
Don't crash on failed registration
I think Forge is doing something weird with registration event handlers causing ClassNotFoundExceptions

Closes #37
2018-06-09 17:32:39 -04:00
Shadowfacts 5d8ddee776
Update Kotlin 2018-06-09 15:29:04 -04:00
Shadowfacts c64538e7b0
Remove unnecessary elvis operator 2018-06-09 15:28:51 -04:00
Kitten be61809a7b Unregister class reference from the event bus (#36)
When Forgelin registers the object instance of an `@EventBusSubscriber` annotated object class to the event bus, it does not unregister the static class reference that Forge will have registered before Forgelin parses the annotation candidates. This could potentially cause issues, and breaks expectations/semantics from having the annotation register a class both statically and as an instance. This pull request adds a call to `MinecraftForge.EVENT_BUS#unregister` to remove the Forge-registered class reference before registering the instance reference.
2018-06-09 15:08:40 -04:00
gegy1000 438c604d52 Object EventBusSubscriber registration (#34)
* Object EventBusSubscriber registration

* Register from construction and handle companion objects

* Rename construction event listener

* Syntax changes

* Add test mod
2018-05-21 09:36:15 -04:00
Shadowfacts 68c718fe57
Update Maven publishing 2017-11-30 13:31:14 -05:00
Shadowfacts 06f171947d
Update to Kotlin 1.2 2017-11-30 13:26:56 -05:00
Shadowfacts ebba471b4b
Update Gradle config 2017-08-12 17:51:45 -04:00
Marvin Rösch 6f718d74fc Remove custom Kotlin source replacement code (#22) 2017-08-12 17:13:58 -04:00
Marvin Rösch 23dfb368e1 Add automatic version replacement in Forgelin.kt (#20)
* Add automatic version replacement in Forgelin.kt

* Remove unnecessary newlines caused by IDEA
2017-07-19 21:11:55 -04:00
Shadowfacts 8a5751bc19
Update README.md 2017-06-29 16:46:05 -04:00
Shadowfacts bb3a703467
Update Gradle config 2017-06-29 16:39:47 -04:00
Severen Redwood ae873b5cc4 Bump versions (#16)
Bumped the following versions:

- Minecraft (to 1.12)
- Forge (to 14.21.0.2368)
- MCP Mappings (to snapshot_20170624)
- Kotlin (to 1.1.3)
- Kotlin Coroutines (to 0.16)
- Jetbrains Annotations (to 15.0)
2017-06-28 16:48:36 -04:00
Shadowfacts b3fe2d34b3
Bump version 2017-06-11 16:20:08 -04:00
Shadowfacts 2065fbd62b
Add JCenter note to README.md
Closes #14
2017-06-11 16:19:39 -04:00
Shadowfacts 33320699ac
Add mcmod.info
Closes #13
2017-06-11 16:17:46 -04:00
Shadowfacts 469fcdaea7
Update Kotlin and add kotlin-stdlib-jre8
Closes #11
2017-06-11 16:15:54 -04:00
Shadowfacts d5138b9814
Update Kotlin, add JetBrains annotations and Kotlin coroutines
closes #9
2017-04-29 12:05:56 -04:00
Shadowfacts 4dda702c93
Update to Kotlin 1.1.1 & bump version 2017-03-27 16:45:14 -04:00
Shadowfacts 531b3da7ef
Update to Kotlin 1.1
Closes #8
2017-03-05 10:32:02 -05:00
Shadowfacts e0209c61b2
Readd loading plugin
Prevents crash because of unloaded Forgelin/Kotlin classes.

Closes #6
Closes #7
2017-02-16 18:22:08 -05:00
Shadowfacts 757db6540d
Remove old stuff in build.gradle 2017-02-15 19:23:34 -05:00
Shadowfacts 106c697b49
Add mod, remove loading plugin, bump version
Closes #5
2017-02-15 19:21:37 -05:00
Shadowfacts 8a06ed849e
Update to Kotlin 1.0.6, clean up language adapter 2016-12-28 09:42:03 -05:00
Shadowfacts 307b2bb8cf
Add license 2016-12-15 19:49:18 -05:00
Eladkay 5aa5c6b5c4 Small fix I noticed (#2) 2016-11-18 17:58:15 -05:00
Shadowfacts 5ba8149af6 Update README.md 2016-11-16 11:45:44 -05:00
Shadowfacts 144c4468ee It lives 2016-11-14 10:59:31 -05:00
Shadowfacts dccdea16ce
Update README.md 2016-11-12 13:38:16 -05:00
Shadowfacts efacae715f
Fix reobfuscation issue, bump version
Closes #1
2016-09-22 18:13:04 -04:00
Shadowfacts 99b5b2fc22 Bump version 2016-08-08 15:40:19 -04:00
Shadowfacts b216102bb9 Add ListExtensions 2016-08-08 15:40:15 -04:00
Shadowfacts e3c2d1c18d Bump version 2016-08-06 16:36:13 -04:00
Shadowfacts f342ce7b03 Property access syntax and elvis operators. Because. 2016-08-06 16:35:47 -04:00
Shadowfacts 3c23a62aad Fix object instance field name 2016-08-06 16:33:12 -04:00
Shadowfacts 144cc8bac5 Add test mod 2016-08-06 16:33:01 -04:00