SHARE
TWEET

Untitled

a guest Oct 6th, 2015 3 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.         jcenter()
  6.     }
  7.     dependencies {
  8.         classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
  9.         classpath 'com.android.tools.build:gradle:1.2.3'
  10.         classpath 'org.robovm:robovm-gradle-plugin:1.8.0'
  11.     }
  12. }
  13.  
  14. allprojects {
  15.     apply plugin: "eclipse"
  16.     apply plugin: "idea"
  17.  
  18.     version = '1.0'
  19.     ext {
  20.         appName = "Snakette"
  21.         gdxVersion = '1.7.0'
  22.         roboVMVersion = '1.8.0'
  23.         box2DLightsVersion = '1.4'
  24.         ashleyVersion = '1.6.0'
  25.         aiVersion = '1.5.0'
  26.     }
  27.  
  28.     repositories {
  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-freetype-platform:$gdxVersion:natives-desktop"
  44.     }
  45. }
  46.  
  47. project(":android") {
  48.     apply plugin: "android"
  49.  
  50.     configurations { natives }
  51.  
  52.     dependencies {
  53.         compile project(":core")
  54.         compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  55.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  56.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  57.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  58.  
  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(":ios") {
  67.     apply plugin: "java"
  68.     apply plugin: "robovm"
  69.  
  70.  
  71.     dependencies {
  72.         compile project(":core")
  73.         compile "org.robovm:robovm-rt:$roboVMVersion"
  74.         compile "org.robovm:robovm-cocoatouch:$roboVMVersion"
  75.         compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
  76.         compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
  77.     }
  78. }
  79.  
  80. project(":html") {
  81.     apply plugin: "gwt"
  82.     apply plugin: "war"
  83.  
  84.  
  85.     dependencies {
  86.         compile project(":core")
  87.         compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
  88.         compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
  89.         compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
  90.     }
  91. }
  92.  
  93. project(":core") {
  94.     apply plugin: "java"
  95.  
  96.  
  97.     dependencies {
  98.         compile "com.badlogicgames.gdx:gdx:$gdxVersion"
  99.         compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  100.     }
  101. }
  102.  
  103. tasks.eclipse.doLast {
  104.     delete ".project"
  105. }
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