Advertisement
Guest User

:P

a guest
Apr 1st, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. }
  5. dependencies {
  6. classpath 'com.android.tools.build:gradle:1.0.0'
  7. }
  8. }
  9.  
  10. allprojects {
  11. apply plugin: "eclipse"
  12. apply plugin: "idea"
  13.  
  14. version = '1.0'
  15. ext {
  16. appName = 'TTmath'
  17. gdxVersion = '1.5.3'
  18. roboVMVersion = '1.0.0-beta-03'
  19. box2DLightsVersion = '1.3'
  20. ashleyVersion = '1.3.1'
  21. aiVersion = '1.4.0'
  22. }
  23.  
  24. repositories {
  25. mavenCentral()
  26. maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  27. maven { url "https://oss.sonatype.org/content/repositories/releases/" }
  28. }
  29. }
  30.  
  31. project(":desktop") {
  32. apply plugin: "java"
  33.  
  34.  
  35. dependencies {
  36. compile project(":core")
  37. compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
  38. compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
  39. compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
  40. }
  41. }
  42.  
  43. project(":android") {
  44. apply plugin: "android"
  45.  
  46. configurations { natives }
  47.  
  48. dependencies {
  49. compile project(":core")
  50. compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  51. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  52. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  53. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  54. compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  55. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
  56. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
  57. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
  58. compile "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
  59. compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  60. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
  61. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
  62. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
  63. }
  64. }
  65.  
  66. project(":core") {
  67. apply plugin: "java"
  68.  
  69.  
  70. dependencies {
  71. compile "com.badlogicgames.gdx:gdx:$gdxVersion"
  72. compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  73. compile "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
  74. compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  75. }
  76. }
  77.  
  78. tasks.eclipse.doLast {
  79. delete ".project"
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement