Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (777)
Games in Android Showcase (231)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  LibGDX jars not part of the generated project and instead deep in .gradle folder  (Read 1459 times)
0 Members and 1 Guest are viewing this topic.
Offline theagentd
« Posted 2017-11-07 22:13:05 »

So I'm trying to lay the foundation for a small school project for my Game Design class. I said that we could use LibGDX for Android compatibility, and now I'm in charge of setting it up of course. The problem is that I just cannot fathom what I'm supposed to do to get this project pushed completely to GitHub so we can actually collaborate. The LibGDX project creator generated dependencies like this:

Is there any way I can make LibGDX generate sane library dependencies or should I just clone my harddrive and mail it to my teammates?

Offline KaiHH

JGO Kernel

Medals: 650

« Reply #1 - Posted 2017-11-07 22:32:39 »

When you generated your LibGDX project with the setup app provided on the LibGDX download page and imported the generated project as Gradle project in Eclipse, then everything is setup properly. Yes, you do see references to absolute file system paths in your Eclipse setting files, but those you will never commit to Git.
Instead, everyone of you would just once import the LibGDX project as Gradle project in whatever IDE they prefer to use. During that process, all needed dependencies are downloaded as jar files and the IDE is configured with file system paths valid on that host system only. For Android projects I'd also REALLY use Android Studio / IntelliJ instead.
You'll see that the setup app even created proper .gitignore files which will prevent anyone of you from committing any IDE settings files, compiled class files or (God forbid) jar files to Git.
You should be fine to simply `git add -A && git commit -m "Create the start of our awesome LibGDX project"`.
Pages: [1]
  ignore  |  Print  

hadezbladez (336 views)
2018-11-16 13:46:03

hadezbladez (180 views)
2018-11-16 13:41:33

hadezbladez (336 views)
2018-11-16 13:35:35

hadezbladez (83 views)
2018-11-16 13:32:03

EgonOlsen (2177 views)
2018-06-10 19:43:48

EgonOlsen (2205 views)
2018-06-10 19:43:44

EgonOlsen (1378 views)
2018-06-10 19:43:20

DesertCoockie (2010 views)
2018-05-13 18:23:11

nelsongames (1654 views)
2018-04-24 18:15:36

nelsongames (2299 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!