Compile executables Kotlin Multiplatform

In this article we will find out answers to these questions: Kotlin Multiplatform project may have these parts: Important note, that we should execute any Gradle tasks using Run Configurations in Android Studio. Edit Configurations -> Add new -> Gradle -> Paste Gradle task to “Tasks and arguments” field. You may face errors when trying […]

READ MORE

Building tdlight natives for aarch64

If you trying to build your project with tdlib on MacOS M1 (Apple Silicon chip), you probably are gonna face this error: You need to compile these natives for aarch64 architecture. The final artifact will be named as: tdlight-natives-osx-aarch64. NOTE: If you want to take compiled artifact, just download it from my repo, then put into […]

READ MORE

Gmavenplus: Unrecognized target bytecode

When you try to compile Groovy with Java and use gmavenplus plugin for that purpose, you may face with this errors: To solve this problem, you need replace the ‘8’ to ‘1.8’ in your maven-compiler-plugin: If you don’t have maven-compiler-plugin – add it to your project’s pom.xml, as above.

READ MORE

Error while calling a method on a Groovy class

You may encounter an error when compiling your project that looks like this: It is not at all clear what class are meant. If you work with IntelliJ IDEA – this is the reason. Sometime it parses maven build/compile logs incorrectly, so the second part of the exception was lost. Compile manually through the terminal […]

READ MORE