Guest User

Untitled

a guest
Jan 16th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 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 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
  10. classpath 'com.android.tools.build:gradle:2.2.3'
  11. classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.0'
  12. classpath 'com.android.tools.build:gradle:2.2.3'
  13. classpath 'com.google.gms:google-services:3.0.0'
  14. }
  15. }
  16.  
  17. allprojects {
  18. apply plugin: "eclipse"
  19. apply plugin: "idea"
  20.  
  21. version = '1.0'
  22. ext {
  23. appName = "GdxAndroid"
  24. gdxVersion = '1.9.5'
  25. roboVMVersion = '2.3.0'
  26. box2DLightsVersion = '1.4'
  27. ashleyVersion = '1.7.0'
  28. aiVersion = '1.8.0'
  29. }
  30.  
  31. repositories {
  32. mavenLocal()
  33. mavenCentral()
  34. maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  35. maven { url "https://oss.sonatype.org/content/repositories/releases/" }
  36. }
  37. }
  38.  
  39. project(":desktop") {
  40. apply plugin: "java"
  41.  
  42.  
  43. dependencies {
  44. compile project(":core")
  45. compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
  46. compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
  47. compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
  48. }
  49. }
  50.  
  51. project(":android") {
  52. apply plugin: "android"
  53. apply plugin: 'com.google.gms.google-services'
  54.  
  55. configurations { natives }
  56.  
  57. dependencies {
  58. compile project(":core")
  59. compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  60. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  61. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  62. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
  63. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  64. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
  65. compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  66. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
  67. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
  68. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-arm64-v8a"
  69. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
  70. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86_64"
  71. }
  72. }
  73.  
  74. project(":ios") {
  75. apply plugin: "java"
  76. apply plugin: "robovm"
  77.  
  78.  
  79. dependencies {
  80. compile project(":core")
  81. compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
  82. compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
  83. compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
  84. compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
  85. compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
  86. }
  87. }
  88.  
  89. project(":html") {
  90. apply plugin: "gwt"
  91. apply plugin: "war"
  92.  
  93.  
  94. dependencies {
  95. compile project(":core")
  96. compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
  97. compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
  98. compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
  99. compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion:sources"
  100. compile "com.badlogicgames.gdx:gdx-box2d-gwt:$gdxVersion:sources"
  101. }
  102. }
  103.  
  104. project(":core") {
  105. apply plugin: "java"
  106.  
  107.  
  108. dependencies {
  109. compile "com.badlogicgames.gdx:gdx:$gdxVersion"
  110. compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  111. }
  112. }
  113.  
  114. tasks.eclipse.doLast {
  115. delete ".project"
  116. }
Add Comment
Please, Sign In to add comment