SHARE
TWEET

Untitled

a guest Oct 28th, 2015 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. buildscript {
  2.     repositories {
  3.         mavenCentral()
  4.         maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  5.     }
  6.     dependencies {
  7.         classpath 'com.android.tools.build:gradle:1.2.3'
  8.         classpath 'org.robovm:robovm-gradle-plugin:1.8.0'
  9.     }
  10. }
  11.  
  12. allprojects {
  13.     apply plugin: "eclipse"
  14.     apply plugin: "idea"
  15.  
  16.     version = '1.0'
  17.     ext {
  18.         appName = "Test"
  19.         gdxVersion = '1.7.0'
  20.         roboVMVersion = '1.8.0'
  21.         box2DLightsVersion = '1.4'
  22.         ashleyVersion = '1.6.0'
  23.         aiVersion = '1.6.0'
  24.     }
  25.  
  26.     repositories {
  27.         mavenCentral()
  28.         maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  29.         maven { url "https://oss.sonatype.org/content/repositories/releases/" }
  30.     }
  31. }
  32.  
  33. project(":android") {
  34.     apply plugin: "android"
  35.  
  36.     configurations { natives }
  37.  
  38.     dependencies {
  39.         compile project(":core")
  40.         compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  41.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  42.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  43.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  44.         compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  45.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
  46.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
  47.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
  48.         compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  49.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
  50.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
  51.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
  52.         compile "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
  53.         compile 'com.parse.bolts:bolts-android:1.+'
  54.         compile 'com.parse:parse-android:1.10.2'
  55.  
  56.  
  57.     }
  58. }
  59.  
  60. project(":ios") {
  61.     apply plugin: "java"
  62.     apply plugin: "robovm"
  63.  
  64.  
  65.     dependencies {
  66.         compile project(":core")
  67.         compile "org.robovm:robovm-rt:$roboVMVersion"
  68.         compile "org.robovm:robovm-cocoatouch:$roboVMVersion"
  69.         compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
  70.         compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
  71.         compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
  72.         compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
  73.         compile 'com.parse.bolts:bolts-android:1.+'
  74.         compile 'com.parse:parse-android:1.10.2'
  75.  
  76.     }
  77. }
  78.  
  79. project(":core") {
  80.     apply plugin: "java"
  81.  
  82.  
  83.     dependencies {
  84.         compile "com.badlogicgames.gdx:gdx:$gdxVersion"
  85.         compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  86.         compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  87.         compile "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
  88.         compile 'com.parse.bolts:bolts-android:1.+'
  89.         compile 'com.parse:parse-android:1.10.2'
  90.  
  91.     }
  92. }
  93.  
  94. project(":desktop") {
  95.     apply plugin: "java"
  96.  
  97.  
  98.     dependencies {
  99.         compile project(":core")
  100.         compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
  101.         compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
  102.         compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
  103.         compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
  104.         compile "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
  105.     }
  106. }
  107.  
  108. tasks.eclipse.doLast {
  109.     delete ".project"
  110. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top