Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (741)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (823)
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 308 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?

Myomyomyo.
Offline KaiHH

JGO Kernel


Medals: 481



« 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  
 
 

 
xxMrPHDxx (18 views)
2017-11-21 16:21:00

xxMrPHDxx (11 views)
2017-11-21 16:14:31

xxMrPHDxx (14 views)
2017-11-21 16:10:57

Ecumene (114 views)
2017-09-30 02:57:34

theagentd (148 views)
2017-09-26 18:23:31

cybrmynd (248 views)
2017-08-02 12:28:51

cybrmynd (248 views)
2017-08-02 12:19:43

cybrmynd (244 views)
2017-08-02 12:18:09

Sralse (258 views)
2017-07-25 17:13:48

Archive (878 views)
2017-04-27 17:45:51
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
java-gaming.org 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‑gaming.org
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!