SHARE
TWEET

Untitled

a guest Nov 20th, 2016 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. buildscript {
  2.     project.ext.roboVMVersion = "2.0.0-SNAPSHOT"
  3.     project.ext.roboVMGradleVersion = "2.0.0-SNAPSHOT"
  4.  
  5.  
  6.     repositories {
  7.         mavenCentral()
  8.         maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  9.         jcenter()
  10.     }
  11.     dependencies {
  12.         classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
  13.         classpath 'com.android.tools.build:gradle:1.2.3'
  14.         classpath group: 'com.mobidevelop.robovm', name: 'robovm-gradle-plugin', version: project.roboVMGradleVersion
  15.     }
  16. }
  17.  
  18. allprojects {
  19.     apply plugin: "eclipse"
  20.     apply plugin: "idea"
  21.  
  22.     version = '1.0'
  23.     ext {
  24.         appName = 'SaveTheEggs'
  25.         gdxVersion = '1.9.4-SNAPSHOT'
  26.         box2DLightsVersion = '1.3'
  27.         ashleyVersion = '1.4.0'
  28.         aiVersion = '1.5.0'
  29.         gdxUtilsVersion = '0.11.0'
  30.         roboVMVersion = '2.0.0-SNAPSHOT'
  31.    
  32.        
  33.     }
  34.  
  35.     repositories {
  36.         mavenCentral()
  37.         maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  38.         maven { url "https://oss.sonatype.org/content/repositories/releases/" }
  39.     }
  40. }
  41.  
  42. project(":desktop") {
  43.     apply plugin: "java"
  44.  
  45.  
  46.     dependencies {
  47.         compile project(":core")
  48.         compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
  49.         compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
  50.         compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
  51.         compile "com.badlogicgames.gdx:gdx-controllers-desktop:$gdxVersion"
  52.         compile "com.badlogicgames.gdx:gdx-controllers-platform:$gdxVersion:natives-desktop"
  53.         compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
  54.         compile "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
  55.        
  56.  
  57.     }
  58. }
  59.  
  60. project(":android") {
  61.     apply plugin: "android"
  62.  
  63.     configurations { natives }
  64.  
  65.     dependencies {
  66.         compile project(":core")
  67.         compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  68.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  69.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  70.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  71.         compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  72.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
  73.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
  74.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
  75.         compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
  76.         compile "com.badlogicgames.gdx:gdx-controllers-android:$gdxVersion"
  77.         compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  78.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
  79.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
  80.         natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
  81.         compile "net.dermetfan.libgdx-utils:libgdx-utils:$gdxUtilsVersion"
  82.         compile "net.dermetfan.libgdx-utils:libgdx-utils-box2d:$gdxUtilsVersion"
  83.  
  84.  
  85.        
  86.     }
  87. }
  88.  
  89. project(":ios") {
  90.     apply plugin: "java"
  91.     apply plugin: "robovm"
  92.  
  93.     repositories {
  94.         mavenCentral()
  95.         maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
  96.     }
  97.  
  98.     dependencies {
  99.         compile project(":core")
  100.         compile group: 'com.mobidevelop.robovm', name: 'robovm-rt', version: project.roboVMVersion
  101.         compile group: 'com.mobidevelop.robovm', name: 'robovm-cocoatouch', version: project.roboVMVersion
  102.         compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
  103.         compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
  104.         compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
  105.         compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
  106.        
  107.     }
  108. }
  109.  
  110. project(":html") {
  111.     apply plugin: "gwt"
  112.     apply plugin: "war"
  113.  
  114.  
  115.     dependencies {
  116.         compile project(":core")
  117.         compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
  118.         compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
  119.         compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
  120.         compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion:sources"
  121.         compile "com.badlogicgames.gdx:gdx-box2d-gwt:$gdxVersion:sources"
  122.         compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion:sources"
  123.         compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion"
  124.         compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion:sources"
  125.  
  126.     }
  127. }
  128.  
  129. project(":core") {
  130.     apply plugin: "java"
  131.  
  132.  
  133.     dependencies {
  134.         compile "com.badlogicgames.gdx:gdx:$gdxVersion"
  135.         compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  136.         compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
  137.         compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  138.         compile "net.dermetfan.libgdx-utils:libgdx-utils:$gdxUtilsVersion"
  139.         compile "net.dermetfan.libgdx-utils:libgdx-utils-box2d:$gdxUtilsVersion"
  140.  
  141.  
  142.     }
  143. }
  144.  
  145. tasks.eclipse.doLast {
  146.     delete ".project"
  147. }
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