line / line-sdk-unity

Provides a modern way of implementing LINE APIs in Unity games, for iOS and Android.
https://developers.line.biz/
Apache License 2.0
117 stars 24 forks source link

Try to upgrade the mainTemplate gradle build file for unity library compatibility #44

Closed onevcat closed 1 year ago

onevcat commented 1 year ago

This tries to solve #43

Starting with Unity 2019.3, it builds the game into a library and splits the original main template into a launcher gradle file and a main gradle file.

It seems that the old way did not work well for new versions. Although in ideal world, we should find a way to support both versions below 2018 and above 2019, it seems that it is not that easy. With the fact that Unity itself only accepts plugins/assets built from 2019.4, I guess it is also a good chance to upgrade our minimal target to 2019.4 too.

I will continue to fix the related doc and requirement later.