SHARE
TWEET

Untitled

a guest Sep 17th, 2014 195 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. buildscript {
  2.     repositories {
  3.         mavenCentral()
  4.         mavenLocal()
  5.         maven { url 'https://github.com/steffenschaefer/gwt-gradle-plugin/raw/maven-repo/' }
  6.     }
  7.     dependencies {
  8.         classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.4'
  9.         classpath 'com.android.tools.build:gradle:0.10+'
  10.         classpath 'com.github.jtakakura:gradle-robovm-plugin:0.0.9'
  11.         classpath 'net.sf.proguard:proguard-gradle:4.11'
  12.     }
  13. }
  14.  
  15. allprojects {
  16.     apply plugin: "eclipse"
  17.     apply plugin: "idea"
  18.  
  19.     version = '1.0'
  20.  
  21.     ext {
  22.         appName = 'Gravv'
  23.         gdxVersion = '1.3.2-SNAPSHOT'
  24.         roboVMVersion = '1.0.0-SNAPSHOT'
  25.         gdxUtilsVersion = '0.3.5-SNAPSHOT'
  26.         artemisVersion = '0.6.6-SNAPSHOT'
  27.         b2dlightsVersion = '1.3-SNAPSHOT'
  28.         artemisContribVersion = artemisVersion
  29.     }
  30.  
  31.     repositories {
  32.         mavenLocal()
  33.         mavenCentral()
  34.         //maven { url "http://repo1.maven.org/maven2/net/onedaybeard/artemis/artemis-odb/$artemisVersion/" }
  35.         //maven { url "http://repo1.maven.org/maven2/net/onedaybeard/artemis/artemis-odb-cli/0.6.5/" }
  36.         maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  37.         //maven { url "https://oss.sonatype.org/content/repositories/releases/" }
  38.         //maven { url "https://oss.sonatype.org/content/groups/public/" }
  39.         //maven { url "https://oss.sonatype.org/content/groups/staging/" }
  40.     }
  41. }
  42.  
  43. project(":desktop") {
  44.     apply plugin: "java"
  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-freetype-platform:$gdxVersion:natives-desktop"
  52.         compile "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
  53.         compile "com.badlogicgames.gdx:gdx-controllers-desktop:$gdxVersion"
  54.         compile "com.badlogicgames.gdx:gdx-controllers-platform:$gdxVersion:natives-desktop"
  55.     }
  56. }
  57.  
  58. project(":android") {
  59.     apply plugin: "android"
  60.  
  61.     configurations { natives }
  62.  
  63.     dependencies {
  64.         compile project(":core")
  65.         compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  66.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  67.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  68.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  69.         compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  70.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
  71.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
  72.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
  73.         compile "com.badlogicgames.box2dlights:box2dlights:$b2dlightsVersion"
  74.         //compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  75.         //natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
  76.         //natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
  77.         //natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
  78.         compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
  79.         compile "com.badlogicgames.gdx:gdx-controllers-android:$gdxVersion"
  80.     }
  81. }
  82.  
  83. project(":ios") {
  84.     apply plugin: "java"
  85.     apply plugin: "robovm"
  86.  
  87.     configurations { natives }
  88.  
  89.     dependencies {
  90.         compile project(":core")
  91.         compile "org.robovm:robovm-rt:${roboVMVersion}"
  92.         compile "org.robovm:robovm-cocoatouch:${roboVMVersion}"
  93.         compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
  94.         natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
  95.         natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
  96.         //natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
  97.     }
  98. }
  99.  
  100. project(":html") {
  101.     apply plugin: "gwt"
  102.     apply plugin: "war"
  103.  
  104.     dependencies {
  105.         compile project(":core")
  106.         compile fileTree(dir: 'libs', include: '*.jar')
  107.         compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
  108.         compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
  109.         compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
  110.         compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion:sources"
  111.         compile "com.badlogicgames.gdx:gdx-box2d-gwt:$gdxVersion:sources"
  112.         compile "com.badlogicgames.box2dlights:box2dlights:$b2dlightsVersion:sources"
  113.         compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion:sources"
  114.         compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion"
  115.         compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion:sources"
  116.         compile "com.badlogicgames.gdx:gdx-ai:$gdxVersion:sources"
  117.         compile "net.dermetfan.libgdx-utils:libgdx-utils:$gdxUtilsVersion:sources"
  118.         compile "net.dermetfan.libgdx-utils:libgdx-utils-box2d:$gdxUtilsVersion:sources"
  119.         compile "net.onedaybeard.artemis:artemis-odb-gwt:$artemisVersion"
  120.         compile "net.onedaybeard.artemis:artemis-odb-gwt:$artemisVersion:sources"
  121.         compile "net.onedaybeard.artemis:artemis-odb:$artemisVersion:sources"
  122.         compile 'com.google.gwt:gwt-user:2.6.0'
  123.         compile 'com.google.gwt:gwt-user:2.6.0:sources'
  124.     }
  125. }
  126.  
  127. project(":core") {
  128.     apply plugin: "java"
  129.  
  130.     dependencies {
  131.         compile fileTree(dir: '../libs', include: '*.jar')
  132.         compile "net.onedaybeard.artemis:artemis-odb:$artemisVersion"
  133.         //compile "net.onedaybeard.artemis:artemis-odb-cli:$artemisVersion"
  134.         compile "com.badlogicgames.gdx:gdx:$gdxVersion"
  135.         compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
  136.         compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  137.         compile "com.badlogicgames.box2dlights:box2dlights:$b2dlightsVersion"
  138.         //compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  139.         compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
  140.         compile "com.badlogicgames.gdx:gdx-ai:$gdxVersion"
  141.         compile "net.dermetfan.libgdx-utils:libgdx-utils:$gdxUtilsVersion"
  142.         compile "net.dermetfan.libgdx-utils:libgdx-utils-box2d:$gdxUtilsVersion"
  143.         compile "net.sf.proguard:proguard-gradle:4.11"
  144.         compile "net.mostlyoriginal.artemis-odb:contrib-core:$artemisContribVersion"
  145.         compile "net.mostlyoriginal.artemis-odb:contrib-components:$artemisContribVersion"
  146.         compile "net.mostlyoriginal.artemis-odb:contrib-components-libgdx:$artemisContribVersion"
  147.         compile "net.mostlyoriginal.artemis-odb:contrib-eventbus:$artemisContribVersion"
  148.     }
  149. }
  150.  
  151. tasks.eclipse.doLast { delete ".project" }
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