Skip to content

1.12.1.8 "Unicorn Warfare"

Compare
Choose a tag to compare
@tommyettinger tommyettinger released this 18 Apr 05:45
· 309 commits to master since this release

This release is small, but includes some tricky fixes for problems people faced recently.

The first is the larger fix: Android apps that use a default icon (any default icon, if it's reused between different developers' apps) can be suspended on Google Play Store for plagiarism, just by having the same icon as another app. It's arguably a good approach for Google, since they understandably don't want a finished product looking like a clone of another on their store. It's a problem for developers who are in an early stage of app development, though, and want to upload an alpha-quality build for feedback. To avoid at least most cases where an app could be duplicated, Liftoff now uses the project name and its root package to generate random colors and choose icons randomly, emitting Frankenstein-esque icons into your Android module. The colors are... rather bright. You will want to change the icon before submitting to anywhere public, which is part of the point. If you don't, it won't overlap, though, so there is an extra layer of safety.

The second fix is validation; as per #149 , using a main class name that was already used by libGDX could sometimes cause cyclic dependency issues. Now, all class names in libGDX (except for inner classes, which I don't think are involved) are considered invalid main class names for your code. Not only does this catch a possible compilation problem before it happens, this helps avoid confusion for people who try to help (i.e. if your class Game is not the Game class defined by libGDX, or you have a Stage class that is unrelated to the scene2d Stage).

There are some other small changes, like TeaVM versions now using stable releases, and the GdxWebSocket GWT dependency getting fixed. I hope this works well for you!

(Also, the JAR file is slightly larger because there are 1991 icon files present in the resources. Each one is very small, and the JAR format compresses them fairly well, but the size adds up! Only by about 2MB, but still...)