Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seggan/kmixin

Mixins, but Kotlin
https://github.com/seggan/kmixin

Last synced: 24 days ago
JSON representation

Mixins, but Kotlin

Awesome Lists containing this project

README

        

# KMixin

![Gradle Plugin Portal Version](https://img.shields.io/gradle-plugin-portal/v/io.github.seggan.kmixin?label=Gradle%20plugin%20portal)

Write your mixins fearlessly in Kotlin! Mixins [famously don't support Kotlin](https://github.com/SpongePowered/Mixin/issues/245)
This Gradle plugin automatically generates Java wrapper code that forwards calls to your Kotlin mixin,
so you don't have to worry about Kotlin's extra code generation. Check out the
[wiki](https://github.com/Seggan/kmixin/wiki) for more information.

### This project is still early in development. While I encourage you to try it out, please report any issues you encounter.

## Usage
```kotlin
plugins {
id("io.github.seggan.kmixin") version "VERSION"
}
```
That's it! KMixin will automatically insert its task into the build process.

## Currently unsupported features
- MixinExtras
- Interface injection
- `@Shadow`