Combining Java And Kotlin Gradle Build Files

Anything libgdx related goes here!

Combining Java And Kotlin Gradle Build Files

Postby Babu » Wed Mar 13, 2019 7:53 am

Hello all. I'm a novice java developer messing around with the language to try something other than my usual rails development languages. So far working with libgdx has been pretty straightforward and intellij was able to handle the base configuration and building, but now I want to include a kotlin project I found on github. I'm able to build the kotlin project successfully on intellij so I know that the kotlin plugin is working properly and that the gradle configuration for that project is working as well. My problem is that I've been having trouble figuring out how to take 'gradle.build' from the kotlin project and reuse it with 'gradle.build' from the original project's root directory.https://discord.software/ FetLife https://downloader.vip/itunes/
Last edited by Babu on Sun Mar 17, 2019 7:08 pm, edited 1 time in total.
Babu
 
Posts: 2
Joined: Wed Mar 13, 2019 7:51 am

Re: Combining Java And Kotlin Gradle Build Files

Postby tomski » Wed Mar 13, 2019 8:02 am

Its a little bit of a pain. Do you want the source code to be editable next to your project? If you are just looking for a dependency, you should use maven jars or something like jitpack.
tomski
 
Posts: 851
Joined: Wed Jun 26, 2013 6:06 pm


Return to Libgdx

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], Google [Bot] and 1 guest