Advertisement
Guest User

Untitled

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