TeamWizardry / LibrarianLib

A library for the TeamWizardry mods
GNU Lesser General Public License v3.0
26 stars 21 forks source link

Kottle 2.x is required but has no published release #161

Closed thecodewarrior closed 3 years ago

thecodewarrior commented 3 years ago

Kottle 2.x, which would add support for Kotlin 1.4, has yet to be released (autaut03/kottle#36). Until it is, there's a temporary fix for running it in a development environment.

In your build.gradle file, exclude kottle from the liblib transitive dependencies:

// replace this:
implementation "com.teamwizardry.librarianlib:librarianlib-core:$liblib_version"
// with this:
implementation("com.teamwizardry.librarianlib:librarianlib-core:$liblib_version") {
    exclude group: 'kottle', module: 'Kottle' 
}

Then download the slim Kottle jar from the liblib repository and add it to the runtime mods directory (e.g. run/mods/Kottle-2.0.0-slim.jar)

thecodewarrior commented 3 years ago

In 1.16+ we're using Kotlin for Forge, so this isn't an issue any more.