L
L
lidiya112018-03-14 04:20:22
Java
lidiya11, 2018-03-14 04:20:22

How to include FreeTypeFont in gradle in Libgdx?

I have a noob question, I need to add FreeTypeFont to my project in gradle for fonts, in the tutorials I see this:
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
and this is
compile "com. badlogicgames.gdx:gdx-freetype:$gdxVersion"
natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
and so on.
And I know what to do with it and where to put it, but I can't find gdxVersion. I’m looking for it on this github of yours and on the official website and in Google, but I can’t find the version (it seems like I need to write the version myself here?) It doesn’t work. Maybe I'm asking a stupid question, but I don't understand something

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question